murilolopes/adminlte

There is no license information available for the latest version (dev-master) of this package.

Theme plugin for CakePHP

Installs: 46

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 5

Open Issues: 2

Language:JavaScript

Type:cakephp-plugin

dev-master 2016-07-28 19:50 UTC

This package is auto-updated.

Last update: 2024-03-04 07:47:50 UTC


README

Instalação

Execute:

compose require murilolopes/adminlte:dev-master

Insira a seguinte linha no composer.json do seu projeto:

"muriloangelo/adminlte": "dev-master"

Atualize com o comando:

composer update

Carregando o plugin

Em config/bootstrap.php adicione a seguinte linha:

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

Em src/Controller/AppController.php adicione ao método beforeRender():

$this->viewBuilder()->layout('AdminLTE.AdminLTE');

Usando o plugin

Para gerar as views utilizando o plugin basta usar o comando:

cake bake all algumacoisa --theme AdminLTE