2017 © Pedro Peláez

library mahana-permission-checker



  • Tuesday, November 11, 2014
  • by jrmadsen67
  • Repository
  • 1 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown



Mahana Permission Checker (ACL for Laravel)

An ACL library for Laravel. Has a Mahana Hierarchy library dependency (https://github.com/jrmadsen67/mahana-hierarchy-laravel), (*1)

IMPORTANT NOTE: still in active development - I'm currently tweaking & rearranging bits for a project I'm developing, so this is working, but package configuration, etc. is still being finalized. "How to Use" coming soon. If you are desperate to use it now, ping me and I'll try to help you get set up., (*2)


Available (recommended) via composer:, (*3)

"require": {
     "jrmadsen67/mahana-permission-checker": "dev-master"

In you Laravel app.php file add this to providers:, (*4)

    'Jrmadsen67\MahanaHierarchyLaravel\MahanaHierarchyLaravelServiceProvider', // you should have this from earlier install

and this to your facades (optional):, (*5)

    'MahanaHierarchy' => 'Jrmadsen67\MahanaHierarchyLaravel\Facades\HierarchyFacade',  // you should have this from earlier install
    'PermissionChecker' => 'Jrmadsen67\MahanaPermissionChecker\Facades\PermissionCheckerFacade',

then run the migration:, (*6)

php artisan migrate --package="jrmadsen67/mahana-permission-checker"

A data seeder for experimenting and testing is coming soon., (*7)


Table name and fields are completely configurable to your needs. Simply publish the package with the following:, (*8)

php artisan config:publish jrmadsen67/mahana-permission-checker

IMPORTANT! If you wish to use the included migration, run the publish config line BEFORE the migration and your new table name and fields will be used., (*9)


This is fully tested, but proper Unit Testing is not yet included until done a little more...er, "properly"., (*10)

The Versions

11/11 2014