Laravel Quick-Start is a boilerplate for Laravel Application with typical packages preinstalled and configured.
MIT License
Laravel Quickstart is a boilerplate for Laravel Application with typical packages preinstalled and configured to extend a full-fledged application. We tried to make it as minimal as possible.
We tried to bootstrap any requirement your application may have, yet we are open to discuss adding more.
Choose your preferred method
Laravel-QuickStart has a .env.example file in the root of the project.
Rename .env.example to .env make sure that the .env file must be in root directory. Open .env file in your preferred choice of editor and add database credentials.
Database configuration
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=password
Also, don't forget to set up mail configuration.
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_TO_ADDRESS="${APP_NAME}"
Note: Make sure your operating system is configured to display hidden files to show .env file.
In order to install php composer dependencies you first need to set up composer on your operating system. Once your system is compatible with php composer run the following command in your Terminal/ Windows Command Prompt/ Windows powershell/ git bash.
composer install
This will set your APP_KEY in your .env file
php artisan key:generate
php artisan migrate
if you also want to import demo users, permissions, and roles run:
php artisan db:seed
In order to install JavaScript dependencies in your application you will need to install Node Package Manager and optionally you can use yarn to install them.
Once you have NPM installed run this command npm install
or if you want to install using yarn run: yarn
If you are deploying Laravel-QuickStart on your production environment run:
npm run build
If you are deploying it on your local development computer run:
npm run dev
For the purpose of demonstration we have seeded 3 users by default that are Master, Admin and User having roles assigned for them respectively. To add more refer to Spatie Permission Package Documentation here
Master: [email protected]
Password: Master@123
Admin: [email protected]
Password: Admin@123
User: [email protected]
Password: User@123
Laravel-QuickStart Documentation
Thank you for considering contributing to the Laravel Quick-Start project! Please feel free to make any pull requests, or e-mail me a feature request you would like to see in the future to Vijay Goswami at [email protected].
The Laravel-QuickStart is open-sourced software licensed under the MIT license.