dandisy / adminlte-templates
AdminLTE templates for Webcore
Installs: 1 505
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.3|^8.0
- illuminate/support: ~5.0|^6.0|^7.0|^8.0|^9.0
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)
-
unzip adminlte-templates.zip to vendor/dandisy
-
add autoload classmap in composer.json
{
. . .
"autoload": {
"classmap": [
. . .
"vendor/dandisy"
],
. . .
- register this package in config/app.php
/*
* Package Service Providers...
*/
. . .
Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider::class,
-
composer dump-autoload
-
publish the templates package to webcore project
php artisan vendor:publish --provider="Webcore\AdminLTETemplates\AdminLTETemplatesServiceProvider" --force
-
ubah configurasi templates di file config/webcore/laravel_generator.php ke elmer-templates
/*
|--------------------------------------------------------------------------
| Templates
|--------------------------------------------------------------------------
|
*/
'templates' => 'adminlte-templates',