Skip to content

jralph/article-laravel-permissions

Repository files navigation

Laravel Permissions

Check out the article on my blog: Here

Files to Note

The files to note in this setup are:

  • app/routes.php
  • app/filters.php
  • app/models/User.php
  • app/models/Permission.php
  • Migrations in app/migrations

Get it Working

To get this example working, just clone the repo into a folder you can access on your server/localhost and run composer install.

Once done, run php artisan migrate to create the sqlite database structure.

You will then need to create the permissions and users your self. (See blog article for example.)

About

A simple way to allow access to routes based on user permissions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages