2017 © Pedro Peláez
 

library overseer

Laravel package designed to manage profiles and permissions based on Routing Laravel Features

image

folivaresrios/overseer

Laravel package designed to manage profiles and permissions based on Routing Laravel Features

  • Monday, February 19, 2018
  • by folivaresrios
  • Repository
  • 1 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

kissDev Overseer Package [Deprecated]

Laravel 5.3 License, (*1)

Structure Based: caffeinated/shinobi, (*2)

Overseer provides a simple profile-based permissions system to Laravel's built in Auth system. Overseer provides support for the following ACL structure:, (*3)

  • Every user can have zero or more profiles.
  • Every profile can have zero or more permissions.

Permissions are then inherited to the user through the user's assigned profiles., (*4)

The package follows the FIG standards PSR-1, PSR-2, and PSR-4. This package is not unit tested, but is planned to be covered., (*5)

Documentation

Wiki: KissDev Overseer Wiki, (*6)

Requirements

The master branch has the following requirements:, (*7)

  • Laravel 5.* or greater.
  • PHP 5.6.4 or greater.

How to Install?

[Using Composer], (*8)

Add the plugin to your project's composer.json - something like this:, (*9)

{
  "require": {
    "folivaresrios/overseer": "^1.0"
  }
}

or through command line, (*10)

composer require folivaresrios/overseer

Service Provider and Facade

Once this operation is complete, simply add the service provider and alias to your project's config/app.php file and run the provided migrations against your database., (*11)

'providers' => [
    //...
    KissDev\Overseer\OverseerServiceProvider::class,
    //...
];

```php 'aliases' => [ // ... 'Overseer' => KissDev\Overseer\Facades\Overseer::class, // ... ],, (*12)


### Migrations You'll need to run the provided migrations against your database. Publish the migration files using the `vendor:publish` Artisan command and run `migrate`:

php artisan vendor:publish php artisan migrate, (*13)


### Route Middleware Add the following middleware to the $routeMiddleware array in app/Http/Kernel.php BEFORE the EncryptCookies middleware: ```php protected $routeMiddleware = [ //... 'profile.overseer' => \KissDev\Overseer\Middleware\UserHasProfile::class, 'permissions.overseer' => \KissDev\Overseer\Middleware\UserHasPermission::class, //... ];

Reporting Issues

If you have a problem with Overseer please open an issue on GitHub., (*14)

Contributing

If you'd like to contribute to Overseer creating something you'd like added, send a pull requests or open issues., (*15)

The Versions

19/02 2018

dev-master

9999999-dev

Laravel package designed to manage profiles and permissions based on Routing Laravel Features

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fabián Olivares Ríos

laravel acl auth permissions profiles overseer kissdev

19/02 2018

1.2

1.2.0.0

Laravel package designed to manage profiles and permissions based on Routing Laravel Features

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fabián Olivares Ríos

laravel acl auth permissions profiles overseer kissdev

13/01 2018

1.1

1.1.0.0

Laravel package designed to manage profiles and permissions based on Routing Laravel Features

  Sources   Download

MIT

The Requires

 

The Development Requires

by Fabián Olivares Ríos

laravel acl auth permissions profiles overseer kissdev

21/12 2016

1.0

1.0.0.0

Laravel package designed to manage profiles and permissions based on Routing Laravel Features

  Sources   Download

MIT

The Requires

 

by Fabián Olivares Ríos

laravel acl auth permissions profiles overseer kissdev