CakePHP Acl Plugin
A plugin for managing ACL in CakePHP applications.
Installing via composer
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require cakephp/acl
Then in your
Plugin::load('Acl', ['bootstrap' => true]);
To create ACL related tables, run the following
bin/cake migrations migrate -p Acl
Assuming you have PHPUnit installed system wide using one of the methods stated here, you can run the tests for the Acl plugin by doing the following:
- Add the relevant database credentials to your phpunit.xml if you want to run tests against a non-SQLite datasource.