Download the PHP package mohit-singh/zf2auth-acl without Composer

On this page you can find all versions of the php package mohit-singh/zf2auth-acl. 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 zf2auth-acl

ZF2-Auth-ACL

Branch: zfcuser_acl

This this the ZF2 ACL module forked from arvind2110/ZF2-Auth-ACL and Plugged with zfcuser module. it will provide role base access and switching between roles , provides custom permission denied template , plug ins to access role at controller , view and module level. All the role, resource and permission are stored in databases.

How to Use it

using composer add

Enable the module in application.config.php

then copy and rename the following,

Add the depended table from

ADD role for user in table e.g.

ADD resources, resources are your controller name through which you invoke your controller, for me it's "Application\Controller\Index" e.g.

ADD Permissions , permission are the action, you have to associated all action with there controller resource e.g.

ADD role permission , you have to decided which role have which permission e.g.

ADD user role , you have to decide which user have which role , this can be done manually or using some custom script.

NOTE:- please check the aclAuth.local.php con-fig for the default role, it Should be one of the role whatever you insert in the database.

after all these configuration is done you are ready to use ACL module

Services

Remove ACL from a URL and make it global, access to all , add link here

Remove ACL from a URL and make it global before login , add link here

Custom template for permission denied, add new template path here

Role base services at controller

at view level

at module level

It Also provide cache mechanism to store role, resource and permission in cache. you can configure the caching here

you can also access file system cache in your project like this

you are using file system cache so you have to give permission to the cache folder


All versions of zf2auth-acl with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
zf-commons/zfc-user Version 1.x-dev
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 mohit-singh/zf2auth-acl contains the following files

Loading the files please wait ....