You can install using composer.
composer require maiconpinto/cakephp-adminlte-theme
// config/bootstrap.php
Plugin::load('AdminLTE', ['bootstrap' => true, 'routes' => true]);
// src/Controller/AppController.php
public function beforeRender(Event $event)
{
$this->viewBuilder()->setTheme('AdminLTE');
// For CakePHP before 3.5
$this->viewBuilder()->theme('AdminLTE');
}
// src/View/AppView.php
public function initialize()
{
$this->loadHelper('Form', ['className' => 'AdminLTE.Form']);
}
// To customize configuration paste it at end of file config/bootstrap.php
Configure::write('Theme', [
'title' => 'AdminLTE',
'logo' => [
'mini' => 'ALT',
'large' => 'AdminLTE'
],
'login' => [
'show_remember' => true,
'show_register' => true,
'show_social' => true
],
'folder' => ROOT,
'skin' => 'blue' // default is 'blue'
]);
If you want to Customize Layout
Added link to default page of CakePHP.