Search by

pieceofcake2 / acl_extras

ttsuru

Console tools for DbAcl in CakePHP 2: generate ACOs for controllers and actions, verify and recover ACL trees

Package info

github.com/pieceofcake2/acl_extras

Type:cakephp-plugin

pkg:composer/pieceofcake2/acl_extras

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.1 2026-10-14 07:48 UTC

README

GitHub License Packagist Version PHP PHPStan CakePHP CI Codecov

Acl Extras provides a console shell that helps you manage DbAcl records: it generates the ACO nodes for all your controllers and actions, and verifies and recovers corrupted ACO and ARO trees. This is a fork of markstory/acl_extras for pieceofcake2/cakephp.

Requirements

  • PHP 8.0+
  • pieceofcake2/cakephp 2.12+

Installation

composer require pieceofcake2/acl_extras

Then load the plugin with CakePlugin::load('AclExtras') and run bin/cake AclExtras.AclExtras aco_sync (legacy layout: app/Console/cake).

Documentation

Documentation: https://pieceofcake2.github.io/acl_extras/

Contributing

See the contribution guidelines.

Testing

composer install
cp vendor/pieceofcake2/cakephp/tests/config/database.php vendor/pieceofcake2/app/config/
DB=mysql vendor/bin/phpunit   # or DB=pgsql / DB=sqlite
vendor/bin/phpcs
vendor/bin/phpstan analyse

License

Acl Extras is licensed under the MIT license. It was originally created by Mark Story.