Skip to content

AdminLTE Templates

Complete Generator Installation Process

Make sure you have completed a full installation process which is described here

Remove Existing Templates

"infyomlabs/core-templates" from your composer.json

Also remove services provider,

\InfyOm\CoreTemplates\CoreTemplatesServiceProvider::class, from your config/app.php

Add Package

To use AdminLTE templates, add following to your composer.json if you haven't.

sh
"require": {
       "infyomlabs/adminlte-templates": "^3.0"
}

Use "infyomlabs/adminlte-templates": "^1.0" for AdminLTE v2 version.

Run Composer update

Run composer update command.

Update Configuration

Update config/infyom/laravel_generator.php to use AdminLTE templates.

Update 'templates' => 'adminlte-templates'

Publish Layout

If you are using published layout from generator then you need to publish layout files again by,

sh
php artisan infyom.publish:layout

And overwrite each and every file.

Now you are all set to use AdminLTE templates.