2017 © Pedro Peláez
 

library humus-rbac-navigation-module

Integration of ZfcRbac and SpiffyNavigation for Zend Framework 2

image

prolic/humus-rbac-navigation-module

Integration of ZfcRbac and SpiffyNavigation for Zend Framework 2

  • Saturday, August 29, 2015
  • by prolic
  • Repository
  • 2 Watchers
  • 1 Stars
  • 3,418 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HumusRbacNavigationModule

Build Status Scrutinizer Code Quality Code Coverage License Total Downloads, (*1)

Integration of ZfcRbac and SpiffyNavigation for Zend Framework 2, (*2)

Dependencies

Installation

  1. Add "prolic/humus-rbac-navigation-module": "dev-master" to your composer.json
  2. Run php composer.phar install
  3. Enable the module in your config/application.config.php by adding HumusRbacNavigationModule to modules

Example-Configuration

return array(
    'modules' => array(
        'ZfcRbac',
        'SpiffyNavigation',
        'HumusRbacNavigationModule',
    )
);

Usage

Create your navigation using SpiffyNavigation as usual, you can either set the "role" or the "permission" option to any route., (*3)

The navigation entries will be hidden in SpiffyNavigation automatically., (*4)

The Versions

29/08 2015

dev-master

9999999-dev https://github.com/prolic/HumusRbacNavigationModule

Integration of ZfcRbac and SpiffyNavigation for Zend Framework 2

  Sources   Download

MIT

The Requires

 

The Development Requires

zf2 rbac navigation humus zfc-rbac