AdminLTE Templates

  1. Complete Generator Installation Process
  2. Remove Existing Templates
  3. Add Package
  4. Run Composer update
  5. Add Service Provider
  6. Update Configuration
  7. Publish Layout

Complete Generator Installation Process

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

Remove Existing Templates

Remove any previous included templates stuff. like,

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

\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.


"require": {
    "infyomlabs/adminlte-templates": "5.7.x-dev"
} 

Run Composer update

Run composer update command.

Add Service Provider

Add following service providers into your providers array in config/app.php


InfyOm\AdminLTETemplates\AdminLTETemplatesServiceProvider::class, 

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,


php artisan infyom.publish:layout 

And overwrite each and every file.

Now you are all set to use AdminLTE templates.