Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/allphptricks/laravel-10-roles-and-permissions

Simple Laravel 10 User Roles and Permissions
https://github.com/allphptricks/laravel-10-roles-and-permissions

laravel laravel-application laravel-crud laravel-permissions laravel-roles laravel-roles-permissions laravel10 laravel10-crud

Last synced: 3 days ago
JSON representation

Simple Laravel 10 User Roles and Permissions

Awesome Lists containing this project

README

        

# Simple Laravel 10 User Roles and Permissions
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](https://www.allphptricks.com/simple-laravel-10-user-roles-and-permissions/)

## Blog
https://www.allphptricks.com/

## Installation
Make sure that you have setup the environment properly. You will need minimum PHP 8.1, MySQL/MariaDB, composer and Node.js.

1. Download the project (or clone using GIT)
2. Copy `.env.example` into `.env` and configure your database credentials
3. Go to the project's root directory using terminal window/command prompt
4. Run `composer install`
5. Set the application key by running `php artisan key:generate --ansi`
6. Run migrations `php artisan migrate:fresh --seed`
7. Run `npm install`
8. Run `npm run build` to build assets
9. Start local server by executing `php artisan serve`