pieceofcake2 / acl_extras
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
Requires
- php: ^8.0
- composer/installers: ^1.0 || ^2.0
- pieceofcake2/cakephp: ^2.12
Requires (Dev)
- cakephp/cakephp-codesniffer: ^5.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- pieceofcake2/app: ^2.2
- pieceofcake2/phpstan-cakephp2: ^0.2.3
Suggests
None
Provides
None
Conflicts
None
Replaces
- markstory/acl_extras: ^1.0
This package is auto-updated.
Last update: 2026-10-14 21:51:35 UTC
README
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.