Skip to content

refido/laravel-boilerplate

Repository files navigation

Laravel Boilerplate

forthebadge

About This App

This App is to provide boilerplate for common features when using Laravel framework. Such as:

  • Authentication (For testing use mailpit or any other mail service to send email verification and password reset.)
  • Authorization
  • User level access control
  • User roles and permissions
  • User management
  • And more soon

How to use this App

For learning you can refer to the Laravel Documentation for better understanding of the framework. You can also refer to the Laracasts for video tutorials. Or you can also refer to the Laravel Bootcamp for a guided learning experience.

Prerequisites

  1. Clone the repository

  2. run composer install to generate depedencies in vendor folder

    composer install
  3. change .env.example to .env

  4. run php artisan key:generate

    php artisan key:generate
  5. configure .env

  6. Install node modules

    npm install

    or

    npm i
  7. To clear all cache

    php artisan optimize:clear
  8. To migrate fresh database with seed

    php artisan migrate:fresh --seed
  9. Alternatively can use the following command to chain all the commands together

    composer install; composer update; npm install; php artisan optimize:clear; php artisan migrate:fresh --seed

To start the server

php artisan serve

Contributing

Thank you for considering contributing to the App! The contribution guide can be found in the Documentation.

Code of Conduct

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

Security Vulnerabilities

If you discover a security vulnerability within App, please make a GitHub Issues or Pull Request to make app better. All security vulnerabilities will be promptly addressed.

License

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