Installation
Requirements
This branch requires CakePHP 5.1+ and PHP 8.2+.
A common optional dependency is the Tools plugin, which several features integrate with.
Install via Composer
Installing the plugin is the same as for any other CakePHP plugin. Require it with Composer from your application's root directory:
composer require dereuromark/cakephp-setupProduction vs. development
You can install the plugin under require-dev if you only need the development tools and do not need it in production environments.
If you want to use certain features in production — such as user-management commands, Maintenance Mode, or the additional Setup component functionality — install it under require instead. Those features are not available otherwise.
See the package page for details: packagist.org/packages/dereuromark/cakephp-setup.
Load the plugin
Then load the plugin:
bin/cake plugin load SetupIf you intend to use the web backend, load it with routing enabled:
$this->addPlugin('Setup', ['routes' => true]);Next steps
- Maintenance Mode — enable and disable maintenance safely.
- Healthcheck — set up and run health checks.
- Console Commands — explore the operational toolbox.