Generator

CoreUI Templates

TABLE OF CONTENT
  1. Complete Generator Installation Process
  2. Remove Existing Templates
  3. Add Package
  4. Run Composer update
  5. Update Configuration
  6. Publish Layout

Steps to install how to use CoreUI templates with InfyOm Laravel Generator.

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

Also remove services provider,

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

Add Package

Check the following table for Laravel version compatibility,

Laravel Version infyomlabs/laravel-generator infyomlabs/coreui-templates
9.0 ^4.0 ^4.0
8.0 ^3.0 ^3.0
7.0 ^2.0 ^3.0
6.0 ^1.0 ^3.0

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

"require": { "infyomlabs/coreui-templates": "^1.0" }

Run Composer update

Run composer update command.

Update Configuration

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

Update 'templates' => 'coreui-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 CoreUI templates.