Download the PHP package coolcsn/csn-acl-navigation without Composer

On this page you can find all versions of the php package coolcsn/csn-acl-navigation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package csn-acl-navigation

CsnAclNavigation

What is CsnAclNavigation?

CsnAclNavigation is a Module for using 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

  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 and CsnAuthorization) following their instructions.

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

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:

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

This Module depends on the following Modules:

Recommends


All versions of csn-acl-navigation with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
doctrine/doctrine-orm-module Version >=0.7
coolcsn/csn-user Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package coolcsn/csn-acl-navigation contains the following files

Loading the files please wait ....