2017 © Pedro Peláez
 

library lair

Roles and Permissions for Laravel 5.1

image

jeremytubbs/lair

Roles and Permissions for Laravel 5.1

  • Sunday, November 15, 2015
  • by jeremytubbs
  • Repository
  • 2 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Lair - Laravel Roles and Permissions

This Package provides migrations for roles and permissions, middleware for checking (roles, permissions, owns), blade extensions for @role and @owner, config for super_role and default_role, publishes basic views for auth (login, register, reset, password) and finally provides routes for auth., (*1)

I have created this to save myself time... Consider this a kitchen sink for auth., (*2)

Standard Setup

Add the service provider to config\app.php, (*3)

Jeremytubbs\Lair\LairServiceProvider::class,

Publish Lair $ php artisan vendor:publish, (*4)

Most important! add the HasRoles trait to your User model.

This package is some what based on Jeffrey Way's video on Laracasts and its Github Repo., (*5)

Todo -

  • Add admin area for managing users/roles/permissions
  • API for Auth

The Versions

15/11 2015

dev-master

9999999-dev

Roles and Permissions for Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Avatar jeremytubbs

laravel5

21/10 2015

0.1.0

0.1.0.0

Roles and Permissions for Laravel 5.1

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

by Avatar jeremytubbs

laravel5