Learn how to develop simple Laravel 10 user roles and permissions application
The complete tutorial step by step guide is available on my blog. AllPHPTricks Laravel roles and permissions
Make sure that you have setup the environment properly. You will need minimum PHP 8.1, MySQL/MariaDB, composer and Node.js.
- Download the project (or clone using GIT)
- Copy
.env.example
into.env
and configure your database credentials - Go to the project's root directory using terminal window/command prompt
- Run
composer install
- Set the application key by running
php artisan key:generate --ansi
- Run migrations
php artisan migrate:fresh --seed
- Run
npm install
- Run
npm run build
to build assets - Start local server by executing
php artisan serve