PHPackages                             coolcsn/csn-acl-navigation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. coolcsn/csn-acl-navigation

ActiveLibrary

coolcsn/csn-acl-navigation
==========================

Zend Framework 2 Module for Navigation using Acl

0.1.0(12y ago)42.2k8[1 issues](https://github.com/coolcsn/CsnAclNavigation/issues)BSD-3-ClausePHPPHP &gt;=5.3.3

Since Oct 10Pushed 12y ago2 watchersCompare

[ Source](https://github.com/coolcsn/CsnAclNavigation)[ Packagist](https://packagist.org/packages/coolcsn/csn-acl-navigation)[ Docs](https://github.com/coolcsn/CsnAclNavigation)[ RSS](/packages/coolcsn-csn-acl-navigation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

CsnAclNavigation
================

[](#csnaclnavigation)

**What is CsnAclNavigation?**

CsnAclNavigation is a Module for `Navigation` using `Access Control List` based on Zend Framework 2

**What exactly does CsnAclNavigation?**

CsnAclNavigation has been created with educational purposes to demonstrate how Navigation can be done. It is fully functional.

Installation
============

[](#installation)

1. Installation via composer is supported, simply run (make sure you've set `"minimum-stability": "dev"` in your *composer.json* file): `php composer.phar require coolcsn/csn-acl-navigation:dev-master`
2. Configure referenced modules ([CsnUser](https://github.com/coolcsn/CsnUser) and [CsnAuthorization](https://github.com/coolcsn/CsnAuthorization)) following their instructions.

Go to your application configuration in `./config/application.config.php`and add 'CsnAclNavigation'. An example application configuration could look like the following:

```
'modules' => array(
    'Application',
    'DoctrineModule',
    'DoctrineORMModule',
    'CsnUser',
	'CsnAuthorization',
    'CsnAclNavigation'
)

```

Configuration
=============

[](#configuration)

1. Copy the sample Navigation configuration from `./vendor/coolcsn/csn-acl-navigation/config/navigation.global.php.dist`. to `./config/autoload` renaming it to **navigation.global.php** and edit.

We recommend using the same names for the resources and privileges of the pages as for the controllers and actions. This is done to keep the Navigation and Authorization in sync.

If we have a link in our navigation to resource named "Album\\Controller\\Album" and privilege "index", please use the same resource and privilege name to configure your MVC page in the navigation.

For example:

```
	array(
                 'label' => 'Album', // 'Page #1',
                 'route' => 'album', // 'page-1',
				 'action'     => 'index',
				 'controller' => 'index',
				 'resource'	=> 'Album\Controller\Album',
				 'privilege'	=> 'index',
                 'pages' => array(
                     array(
                         'label' => 'Add', // 'Child #1',
                         'route' => 'album',
						 'params' => array('action' => 'add'),
						 'resource'	=> 'Album\Controller\Album',
						 'privilege'	=> 'add',
                     ),
                 ),
             ),

```

Show navigation
===============

[](#show-navigation)

Add this somewhere in your layout `./module/Application/view/layout/layout.phtml` :

```

```

If you are you using *Bootstrap* (as the default skeleton application does), you may as well use:

```

```

Dependencies
============

[](#dependencies)

This Module depends on the following Modules:

- [CsnUser](https://github.com/coolcsn/CsnUser)
- [CsnAuthorization](https://github.com/coolcsn/CsnAuthorization)

Recommends
==========

[](#recommends)

- [coolcsn/CsnCms](https://github.com/coolcsn/CsnCms) - Content management system;

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4595d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e53636eeb1a7343d62c4f66f46bf318faf1041ab5bbfd2a5f87cb8477583010e?d=identicon)[wingman](/maintainers/wingman)

---

Top Contributors

[![atonevbg](https://avatars.githubusercontent.com/u/4909948?v=4)](https://github.com/atonevbg "atonevbg (17 commits)")[![revov](https://avatars.githubusercontent.com/u/4138535?v=4)](https://github.com/revov "revov (4 commits)")[![wingman007](https://avatars.githubusercontent.com/u/203479?v=4)](https://github.com/wingman007 "wingman007 (2 commits)")[![coolcsn](https://avatars.githubusercontent.com/u/3388479?v=4)](https://github.com/coolcsn "coolcsn (1 commits)")

---

Tags

zf2csn-acl-navigation

### Embed Badge

![Health badge](/badges/coolcsn-csn-acl-navigation/health.svg)

```
[![Health](https://phpackages.com/badges/coolcsn-csn-acl-navigation/health.svg)](https://phpackages.com/packages/coolcsn-csn-acl-navigation)
```

###  Alternatives

[zf-commons/zfc-user-doctrine-orm

Doctrine2 ORM storage adapter for ZfcUser.

85676.8k18](/packages/zf-commons-zfc-user-doctrine-orm)[hounddog/doctrine-data-fixture-module

Zend Framework 2 Module that provides Doctrine Data-Fixture functionality

37335.4k9](/packages/hounddog-doctrine-data-fixture-module)[coolcsn/csn-authorization

Authorization based on DoctrineORMModule and ACL

143.5k](/packages/coolcsn-csn-authorization)[tawfekov/zf2entityaudit

EntityAudit Module for Zend Framework2 , Doctrine2 and web interface

1910.4k](/packages/tawfekov-zf2entityaudit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
