arodu/cakelte

CakeLTE: AdminLTE plugin for CakePHP

Maintainers

Package info

github.com/arodu/cakelte

Type:cakephp-plugin

pkg:composer/arodu/cakelte

Transparency log

Statistics

Installs: 32 799

Dependents: 1

Suggesters: 0

Stars: 35

Open Issues: 2

v3.0.0 2026-08-19 17:18 UTC

README

Latest Version CakePHP Packagist License GitHub Repo stars Total Downloads

If it's helpful you can buy me a coffee, thanks!

ko-fi

Dependencies

Requirements

  • PHP >= 8.2
  • CakePHP >= 5.0

Install

Install the plugin via composer:

composer require arodu/cakelte

Load

Load the plugin in src/Application.php or with the shell command:

bin/cake plugin load CakeLte

Publish the assets

Publish the AdminLTE assets to your webroot:

bin/cake cakelte install

This is a manual step of your application. It is not run automatically by composer.

Configure

Copy the plugin configuration file into your application:

cp vendor/arodu/cakelte/config/cakelte.php config/cakelte.php

Use 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();
    }
}

Preview

Page Debug with default layout

Page Debug with default dark layout

Next steps

For the full usage and configuration details, read the documentation.

Support

If you have any problems or questions, please open an issue on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details