Laravel 9 Template - Just a empty Laravel 9 project, ready to start new crap.

Overview

Laravel 9 Template

Just a empty Laravel 9 project, ready to start new crap.

Clone and start using.

Usage - Local Env

The same as usual with laravel.

Clone, make a .env file, and then:

  • composer install
  • php artisan keys:generate
  • php artisan migrate
  • php artisan serve

Usage - Docker

Quickstart

Because we don't like to read, we just want to run this shit on a system with docker and docker-compose installed.

First, copy the .env.example file into .env, and make sure that has this values:

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=1234

Then, where you cloned the project:

  • For running in foreground (and view logs): docker-compose up
  • For running in background (f*ck the logs): docker-compose up

Details

If using docker, find a image that solve that for you. There are millions. But mine is better, because is mine: ggmartinez/laravel:9-php7-Xdebug

This repository includes a wonderful docker-compose.yml file to make the world a better place.

It is all configured to do magic. It mounts the project into the /app folder inside the container (my image starts laravel there), installs composer packages, run migrations, and starts Laravel.

Also, it brings up a MySQL 5.7 database. Just copy .env.example into .env, and add this to the .env file before running everything:

DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=1234

As you can guess,** this is PURELY FOR DEVELOPMENT**, if you want to use this in production, make sure that everything is configured as it should be, or just f*ck the world and live with adrenaline in your blood.

Visutal Studio code Debugging

First, needs this extension: https://marketplace.visualstudio.com/items?itemName=xdebug.php-debug

Then, depending on your environment (local or Docker) need to create a launch.json file.

If using Docker (for example, with my image ggmartinez/laravel:9-php7-Xdebug):

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "XDebug - Laravel on Docker",
            "type": "php",
            "request": "launch",
            "port": 9003
            ,
            "pathMappings": {
                "/app": "${workspaceFolder}/"
            },
        }
    ]
}

If not using Docker:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "XDebug - Laravel on Docker",
            "type": "php",
            "request": "launch",
            "port": 9003
        }
    ]
}

Laravel Stuff

Now, the rest of the original Laravel Readme

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

You might also like...
A dockerized magento 2 community environment ready for development or production.

Painless Magento 2 & 1 A dockerized magento 2 community environment ready for development or production. It supports magento 1.9.x for development Ins

A Laravel test build by Incline Start-up Agency. Testing Git and framework functions.

Incognito-Confessions A laravel test build by Incline Start-up Agency. Testing Git and framework functions. Description A laravel starter for future t

Hi Im L, I found a box that I believe it's contain Kira's real ID. for open that box we need to find three keys. let's start looking for them
Hi Im L, I found a box that I believe it's contain Kira's real ID. for open that box we need to find three keys. let's start looking for them

DeathNote ctf Description are you smart enaugh to help me capturing the three keys for open the box that contain the real ID of kira? Let's start solv

Learn how to run WordPress with Docker. Read about our experiences and start off with an easy boilerplate.
Learn how to run WordPress with Docker. Read about our experiences and start off with an easy boilerplate.

Hi! We're Dan and Jay. We're a two person team with a passion for open source products. We created Server Side Up to help share what we learn. Find us

A great Start for your next Magento Theme's local.xml file

Magento-local.xml-Template A Great Start for your next Magento Theme's local.xml file - ?xml version="1.0"? layout !-- Add/Remove Items From H

The Easiest way to start using PHP CS Fixer and PHP_CodeSniffer with 0-knowledge
The Easiest way to start using PHP CS Fixer and PHP_CodeSniffer with 0-knowledge

The Easiest Way to Use Any Coding Standard Features Blazing fast Parallel run Use PHP_CodeSniffer || PHP-CS-Fixer - anything you like 2nd run under fe

Go to block theme for Bloggers, where you can start effortlessly.

=== grigora-blocks === Contributors: latracal Tested up to: 5.9 Requires at least: 5.9 Requires PHP: 7.4 Version: 2.03.001 License: GPLv2 or later Lic

Quick start -d/reload/restart/stop hyperf(~2.1.0 & ~2.2.0) server

hyperf-helper 1. quick start -d/reload/restart/stop server 2. support hyperf ~2.1.0 & ~2.2.0 3. support CentOS7+, Ubuntu 18.0.4+, macOS 4. support swo

Start using Whatsapp Business Cloud API in your app
Start using Whatsapp Business Cloud API in your app

Use The Most Used Whatsapp's Cloud API Start using Whatsapp Business Cloud API in your app! Support us Investing on this package is defintely a good m

Owner
Gonzalo Martinez
Gonzalo Martinez
WordPlate is a wrapper around WordPress. It makes developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top.

WordPlate is simply a wrapper around WordPress. It makes developers life easier. It is just like building any other WordPress website with themes and plugins. Just with sprinkles on top.

WordPlate 1.7k Sep 20, 2022
Simple Symfony API-Platform Template which you can use to start to develop with symfony and api-platform

symfony-api-platform-skeleton Simple Template for Symfony API You can fork it and change the git remote to your Repo git remote set-url <your-git-remo

null 1 Jan 23, 2022
This is a Native PHP MVC. If you will build your own PHP project in MVC with router, you can clone this ready to use MVC pattern repo.

Welcome to PHP-Native-MVC-Pattern ?? If you will build your own PHP project in MVC with router, you can clone this ready to use MVC pattern repo. Work

null 2 Jun 6, 2022
Yab copy to new - A Textpattern plugin. Copies the current article content to a new one.

yab_copy_to_new Displays a new button in article write tab to copy the current article to a new one. Version: 0.2 Table of contents Plugin requirement

Tommy Schmucker 2 Dec 15, 2017
Quick start Symfony 5 project via docker-compose

Quick Docker Symfony This repository will allow you to start a Symfony project very quickly with PostgreSQL 14, pgAdmin 4 and one of three php version

null 2 Aug 7, 2022
PaaS template based on production template using platform.sh

Shopware for Platform.sh This template builds Shopware on Platform.sh using Composer. To get started on Platform.sh, please visit https://docs.platfor

Shopware 8 Aug 28, 2022
SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.

SuiteCRM is the award-winning open-source, enterprise-ready Customer Relationship Management (CRM) software application.

SalesAgility 102 Sep 21, 2022
Production ready scalable Magento setup utilizing the docker

Magento docker image Requirements This docker image expects 2 other linked containers to work . Mysqldb or Mariadb linked as 'db' Memcached linked as

Paim pozhil 49 Jun 21, 2021
Magento2 + Varnish + PHP7 + Redis + SSL (cluster ready)

Docker Magento2: Varnish + PHP7 + Redis + SSL cluster ready docker-compose infrastructure Infrastructure overview Container 1: MariaDB Container 2: Re

Fabrizio Balliano 325 Sep 11, 2022