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)
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^9.6
- pieceofcake2/app: ^2.2
- pieceofcake2/phpcs-cakephp2: ^1.1
- pieceofcake2/phpstan-cakephp2: ^1.0
Suggests
None
Provides
None
Conflicts
None
Replaces
- markstory/acl_extras: ^1.0
This package is auto-updated.
Last update: 2026-10-16 09:32:53 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.
Documentation
- Website: https://pieceofcake2.github.io/acl_extras/ (日本語: https://pieceofcake2.github.io/acl_extras/ja/)
- Markdown: docs/README.md (日本語: docs/ja/README.md) (for AI tools and offline reading)
The Markdown documentation is also included in the Composer package, in the plugin's directory: plugins/AclExtras/docs/README.md (the location depends on your installer-paths). Install the package with --dev if you only need it for development.
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).
Contributing
See the contribution guidelines.
Testing
composer install cp vendor/pieceofcake2/app/config/database.php.default vendor/pieceofcake2/app/config/database.php DATABASE_URL=sqlite:///:memory: vendor/bin/phpunit vendor/bin/phpcs vendor/bin/phpstan analyse
Origin
This package is a maintained fork of markstory/acl_extras
(markstory/acl_extras on Packagist, last upstream version 1.2.1), originally by Mark Story. It is
maintained for CakePHP 2 on modern PHP by pieceofcake2. Changes
from the original are listed in the
commit history since the fork.
License
Acl Extras is licensed under the MIT license. It was originally created by Mark Story.