PHPackages                             arodu/cakelte - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. arodu/cakelte

ActiveCakephp-plugin[Admin Panels](/categories/admin)

arodu/cakelte
=============

CakeLTE: AdminLTE plugin for CakePHP

v2.0.1(2y ago)3626.9k↓41.7%10[2 issues](https://github.com/arodu/cakelte/issues)MITPHPCI failing

Since Apr 18Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/arodu/cakelte)[ Packagist](https://packagist.org/packages/arodu/cakelte)[ RSS](/packages/arodu-cakelte/feed)WikiDiscussions 2.next-cake5 Synced 1mo ago

READMEChangelog (8)Dependencies (7)Versions (21)Used By (0)

CakeLTE: AdminLTE plugin for CakePHP 5.x
========================================

[](#cakelte-adminlte-plugin-for-cakephp-5x)

[![Latest Version](https://camo.githubusercontent.com/e1905e441c550d344ffe9ec7bde12cac3bca8fe13ae957210eda42b444a3c7c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f61726f64752f63616b656c74652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/arodu/cakelte/releases)[![CakePHP](https://camo.githubusercontent.com/e97a542ffffd92de2f373d3b0bc2ac1dfff352c7000091de463e1e652f05b3b7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f61726f64752f63616b656c74652f63616b6570687025324663616b657068703f7374796c653d666f722d7468652d6261646765)](https://cakephp.org/)[![Packagist License](https://camo.githubusercontent.com/b3d14a1ad4226ea16b21ef8254850fa750c2b1bf4943e8071a2e6cbb2f0fa9e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61726f64752f63616b656c74653f7374796c653d666f722d7468652d6261646765)](LICENSE.md)[![GitHub Repo stars](https://camo.githubusercontent.com/fb9464cca46704ad35f8fa1ae0365dd8fc382a215dbc841a753a2aa98ad0d19e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f61726f64752f63616b656c74653f7374796c653d666f722d7468652d6261646765)](https://github.com/arodu/cakelte/stargazers)[![Total Downloads](https://camo.githubusercontent.com/fd7be2ecf03f43e3235c5c0545f8dc590f48976b9c9e2dfbc4edbb88545d0948/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61726f64752f63616b656c74652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/arodu/cakelte)

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

[![ko-fi](https://camo.githubusercontent.com/201ef269611db7eb6b5d08e9f756ab8980df3014b64492770bdf13a6ed924641/68747470733a2f2f6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/H2H3XTSGP)

Getting Started
---------------

[](#getting-started)

### Dependencies

[](#dependencies)

- [FriendsOfCake/bootstrap-ui](https://github.com/FriendsOfCake/bootstrap-ui), transparently use Bootstrap 4 with CakePHP 4.
- [AdminLTE 3.2](https://adminlte.io/), bootstrap 4 admin theme.

### Installing

[](#installing)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require arodu/cakelte
```

Configuration
-------------

[](#configuration)

You can load the plugin using the shell command:

```
bin/cake plugin load CakeLte
```

add AdminLTE symlink to webroot

```
bin/cake cakelte install
```

How to use
----------

[](#how-to-use)

Copy the file `vendor/arodu/cakelte/config/cakelte.php` to `config/cakelte.php`

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

In this file you can change the cakelte configuration options

use trait into `src/View/AppView.php` *(Recomended)*

```
namespace App\View;

use Cake\View\View;
use CakeLte\View\CakeLteTrait;

class AppView extends View{
  use CakeLteTrait;

  public string $layout = 'CakeLte.default';

  public function initialize(): void{
      parent::initialize();
      $this->initializeCakeLte();
      //...
  }
}
```

or you can extends from CakeLteView

```
namespace App\View;

use Cake\View\View;
use CakeLte\View\CakeLteView;

class AppView extends CakeLteView{

  public function initialize(): void{
    parent::initialize();
    //...
  }
}
```

Options layouts

- `CakeLte.default`
- `CakeLte.login`
- `CakeLte.top-nav`

### Create code from bake

[](#create-code-from-bake)

```
bin/cake bake all [command] -t CakeLte

bin/cake bake template [command] -t CakeLte login
bin/cake bake template [command] -t CakeLte register
bin/cake bake template [command] -t CakeLte recovery
```

To modify the template you can copy one or all the files within your project, copying the following files in the folder `templates/plugin/CakeLte/` and keeping the same structure of `templates/`

Replace the files elements

- Layouts
    - `templates/layout/default.php`
    - `templates/layout/login.php`
    - `templates/layout/top-nav.php`
- Content
    - `templates/element/content/header.php`
- Header navbar
    - `templates/element/header/main.php`
    - `templates/element/header/menu.php`
    - `templates/element/header/messages.php`
    - `templates/element/header/notifications.php`
    - `templates/element/header/search-default.php`
    - `templates/element/header/search-block.php`
- Footer
    - `templates/element/footer/main.php`
- Left sidebar
    - `templates/element/sidebar/main.php`
    - `templates/element/sidebar/menu.php`
    - `templates/element/sidebar/search.php`
    - `templates/element/sidebar/user.php`
- Right sidebar
    - `templates/element/aside/main.php`

Or you can use the following command to copy all files

```
bin/cake cakelte copy_files --all
```

Page debug
----------

[](#page-debug)

Link to debug

```
echo $this->Html->link(__('CakeLTE debug page'), '/cake_lte/debug' );

// {your-url}/cake_lte/debug
```

[![Page Debug with default layout](docs/page-debug_default.png)](docs/page-debug_default.png)

[![Page Debug with top-nav layour](docs/page-debug_top-nav.png)](docs/page-debug_top-nav.png)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance53

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~88 days

Recently: every ~73 days

Total

17

Last Release

805d ago

Major Versions

v0.2.0 → v1.0.02021-11-20

v1.1.2 → v2.0.02024-03-03

v1.1.3 → v2.0.12024-03-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/0617260c837f5cbcc776bf9944d8e3ac6b40bc7ec566ee986c99f4693e7674fa?d=identicon)[arodu](/maintainers/arodu)

---

Top Contributors

[![arodu](https://avatars.githubusercontent.com/u/12447690?v=4)](https://github.com/arodu "arodu (170 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (34 commits)")

---

Tags

adminadminlteadminlte3bootstrapbootstrap4bootstrap5cakephpcakephp5php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arodu-cakelte/health.svg)

```
[![Health](https://phpackages.com/badges/arodu-cakelte/health.svg)](https://phpackages.com/packages/arodu-cakelte)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[friendsofcake/crud

CakePHP Application development on steroids - rapid prototyping / scaffolding &amp; production ready code - XML / JSON APIs and more

3751.4M25](/packages/friendsofcake-crud)[friendsofcake/crud-view

View layer for CRUD

52433.8k2](/packages/friendsofcake-crud-view)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

36162.8k2](/packages/dereuromark-cakephp-setup)[eveseat/web

SeAT Web Interface

2723.2k135](/packages/eveseat-web)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
