murilolopes / adminlte
There is no license information available for the latest version (dev-master) of this package.
Theme plugin for CakePHP
Package info
github.com/murilolopes/adminlte
Language:JavaScript
Type:cakephp-plugin
pkg:composer/murilolopes/adminlte
dev-master
2016-07-28 19:50 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
This package is auto-updated.
Last update: 2026-03-04 12:06:42 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