PHPackages                             ciricihq/adminlte - 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. ciricihq/adminlte

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

ciricihq/adminlte
=================

AdminLTE theme for CakePHP

0.0.2(9y ago)91.7k5GPL-3.0PHPPHP &gt;=5.5.9

Since May 9Pushed 2y ago4 watchersCompare

[ Source](https://github.com/ciricihq/cake-adminlte)[ Packagist](https://packagist.org/packages/ciricihq/adminlte)[ RSS](/packages/ciricihq-adminlte/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (5)Used By (0)

AdminLTE theme for CakePHP 3
============================

[](#adminlte-theme-for-cakephp-3)

[![Build status](https://camo.githubusercontent.com/9fa8dc8f95d2bfd3120cda37191cd083bb7f831a32f23847aac10fafe36774e9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f63697269636968712f63616b652d61646d696e6c74652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ciricihq/cake-adminlte)[![Code coverage](https://camo.githubusercontent.com/8c771fb4b64d22dc163e30304ca2e911f2375764c791ca868ac58d0de15aff51/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f63697269636968712f63616b652d61646d696e6c74652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/ciricihq/cake-adminlte)[![License](https://camo.githubusercontent.com/7c85fe4720eb7bc6a01cf2c23301d9f0ce22c9fa6e53343f3441ed89d3038b74/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63697269636968712f63616b652d61646d696e6c74652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ciricihq/cake-adminlte/blob/master/LICENSE.md)[![Latest stable version](https://camo.githubusercontent.com/6eb916c34abc5c2237c63b0bfc8a5886df7c7b33546a909e818e7405582ac4c0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63697269636968712f63616b652d61646d696e6c74652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ciricihq/cake-adminlte/releases)[![Total downloads](https://camo.githubusercontent.com/62f7a66311754de38285c333e5a755607dda1a672915342a59e84a6338d5da84/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63697269636968712f61646d696e6c74652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ciricihq/adminlte)[![Code climate](https://camo.githubusercontent.com/d60db168721c5b6d7fd19574e7e8a32d5bf828a48e2a11e34402297df34f6b3c/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f63697269636968712f63616b652d61646d696e6c74652e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/ciricihq/cake-adminlte)

Installation
------------

[](#installation)

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

The recommended way to install composer packages is:

```
composer require ciricihq/adminlte
```

### Installing dependencies

[](#installing-dependencies)

Currently this theme uses [NPM](https://nodejs.org) to install external dependencies such as bootstrap, fontawesome or the AdminLTE itself.

To install all the dependencies, just run (within the plugin folder):

```
npm install && ./node_modules/gulp/bin/gulp.js
```

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

[](#configuration)

First you need to load the plugin. To do so, edit your `bootstrap.php` file and add line below:

```
Plugin::load('Cirici/AdminLTE', ['bootstrap' => true]);
```

After that, you can easily use the AdminLTE template making your controllers extend the AdminLTE `AppController`:

```
use Cirici\AdminLTE\Controller\AppController as BaseController;

class MyController extends BaseController
{

}
```

Usage
-----

[](#usage)

First of, take a look to the `bootstrap.php` file to see what can you configure with `Configure`.

To load your custom configurations you can obviously use `Configure::write` where you need, but the recommended way is creating a `adminlte.php` file under your `CONFIG` folder (usually `/config`):

```
