dandisy/adminlte-templates

AdminLTE templates for Webcore

1.2.51 2022-06-09 04:43 UTC

This package is auto-updated.

Last update: 2024-12-09 10:09:16 UTC


README

For https://github.com/dandisy/webcore

This package based on https://github.com/InfyOmLabs/adminlte-templates

Installation

composer require dandisy/adminlte-templates

php artisan vendor:publish --provider="Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider" --tag="public"

php artisan vendor:publish --provider="Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider" --tag="views"

or

php artisan vendor:publish --provider="Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider" --tag="views-all"

Usage (if this package is installed manually)

  1. unzip adminlte-templates.zip to vendor/dandisy

  2. add autoload classmap in composer.json

    {
        . . .
        "autoload": {
            "classmap": [
                . . .
                "vendor/dandisy"
            ],
            . . .
  1. register this package in config/app.php
    /*
    * Package Service Providers...
    */
    . . .    
    Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider::class,
  1. composer dump-autoload

  2. publish the templates package to webcore project

    php artisan vendor:publish --provider="Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider" --force

  3. ubah configurasi templates di file config/webcore/laravel_generator.php ke elmer-templates

    /*
    |--------------------------------------------------------------------------
    | Templates
    |--------------------------------------------------------------------------
    |
    */

    'templates'         => 'adminlte-templates',