Skip to content

A Laravel template with Authentification provided by Laravel Sanctum and dinamic permissions and roles provided by Spatie Permissions.

Notifications You must be signed in to change notification settings

GabrielPeplinski/LaravelTemplate-AuthPermissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Laravel Template

This template has:

  • Authentication: Powered by Laravel Sanctum
  • Permissions and Roles: Provided by Spatie Permissions

How to Set your Roles and Permissions

You can create your own permissions and roles updating the following config files: (this files can be found at /config)

permissions.php => Create all your permissions permissions_by_role.php => Each role must have it's permissions roles.php => All tour roles should be stored here

How to Update your Roles and Permissions

You can update your roles and permissions using the command :
php artisan update:permisisons
Then the permissions and roles will be updated according to the config files

About

A Laravel template with Authentification provided by Laravel Sanctum and dinamic permissions and roles provided by Spatie Permissions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages