If it's helpful you can buy me a coffee, thanks!
- FriendsOfCake/bootstrap-ui, transparently use Bootstrap 5 with CakePHP 5.x.
- arodu/cakephp-bootstrap-tools, helpers for the BootstrapUI + AdminLTE layout.
- AdminLTE 4.x, bootstrap 5 admin theme.
- PHP >= 8.2
- CakePHP >= 5.0
Install the plugin via composer:
composer require arodu/cakelteLoad the plugin in src/Application.php or with the shell command:
bin/cake plugin load CakeLtePublish the AdminLTE assets to your webroot:
bin/cake cakelte installThis is a manual step of your application. It is not run automatically by composer.
Copy the plugin configuration file into your application:
cp vendor/arodu/cakelte/config/cakelte.php config/cakelte.phpUse the CakeLteTrait in src/View/AppView.php:
namespace App\View;
use Cake\View\View;
use CakeLte\View\CakeLteTrait;
class AppView extends View
{
use CakeLteTrait;
protected string $layout = 'CakeLte.default';
public function initialize(): void
{
parent::initialize();
$this->initializeCakeLte();
}
}For the full usage and configuration details, read the documentation.
If you have any problems or questions, please open an issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details

