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: 13

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v2.0.3 2026-10-16 08:41 UTC

README

GitHub License Packagist Version PHP CakePHP PHPStan 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.

Documentation

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.