Best laravel framework open-source packages.

Spatie laravel

Use Spatie | Laravel Permission in Laravel 5.8
Updated 4 years ago

spatie-laravel

Laravel 5.8

Before use this project please :

  1. Install Composer Dependencies => composer install
  2. Install NPM Dependencies => npm install
  3. Create a copy of your .env file => cp .env.example .env
  4. Generate an app encryption key => php artisan key:generate
  5. Create an empty database for our application and config in .env
  6. Migrate the database => php artisan migrate

source : https://docs.spatie.be/laravel-permission/v3/introduction/

Tags spatie php