fomvasss/laravel-its-lte
Composer 安装命令:
composer require fomvasss/laravel-its-lte
包简介
Base Control Panel Templates
README 文档
README
Base Admin LTE Control Panel Templates
Installation
Run from the command line:
composer require fomvasss/laravel-its-lte
php artisan lte:install
That's all. You can usage ITS LTE in your project :)
Visit the path http://your-site.test/lte
Publishing (optional)
Of course, you can publish only the necessary system components:
- views:
lte-view-fields,lte-view-content,lte-view-auth,lte-view-parts,lte-view-layouts,lte-view-profile - other:
lte-config,lte-assets,lte-lang
php artisan lte:publish --tag=lte-view-fields --force
or all components
php artisan lte:publish
Updating
When updating this package, you should re-publish the assets (css, js, images):
php artisan lte:publish --tag=lte-assets --force
Configuration
After publishing assets, its primary configuration file will be located at config/its-lte.php
<?php return [ 'title' => env('APP_NAME', '') . ' - Dashboard', 'logo' => env('LTE_LOGO', '<b>ITS</b>LTE'), 'logo_mini' => env('LTE_LOGO_MINI', '<b>IT</b>LT'), /* * Dashboard home page path */ 'logo_href' => '/lte', /* * For example pages */ 'prefix' => 'lte', /* * For /profile page */ 'use_laravel_fortify' => true, /* * For LTE example pages (/lte/*) */ 'middleware' => ['web'], /** * Use in Fomvasss\ItsLte\Http\Middleware\ApplyRequestOptions */ 'control' => [ 'next_destination_key' => 'destination', ], 'view' => [ /** * Available skins: * skin-blue, skin-black, skin-purple, skin-green, skin-red, * skin-yellow, skin-blue-light, skin-black-light, skin-purple-light, * skin-green-light, skin-red-light, skin-yellow-light, * */ 'skin' => 'skin-purple', 'layout_boxed' => false, 'sidebar_collapse' => false, 'fixed' => false, /** * Show next type alerts in dashboard * Example success type alert: \Session::flash('success', 'Welcome to Laravel Admin LTE!'); * Available types: success, info, warning, error * */ 'alerts' => [ 'toastr', //'sweetalert', //'bootstrap', ], 'btn_actions_class' => 'btn-xs', //'btn-sm btn-flat' /** * Example aside menu */ 'aside_menu' => [ 'static' => false, 'static_example' => env('APP_ENV') !== 'production', 'lte' => env('APP_ENV') !== 'production', ], 'aside_auth_user_info' => false, 'aside_search' => false, 'header_filter_languages' => true, 'header_notify_menus' => true, ], ];
In dashboard used Bootstrap styles and for correct show pagination links, set next in service provider
public function boot()
{
//...
Paginator::useBootstrap();
//...
}
For correct work navigation in dashboard, apply next middleware for routes to dashboard:
\Fomvasss\ItsLte\Http\Middleware\ApplyRequestOptions::class,
Structure
After installation, you can work with the following files:
config/its-lte.php- configspublic/vendor/its-lte- compiled assets filesresources/lang/vendor/lte- message localization filesresources/views/vendor/ltelayouts- main layoutparts- not published by defaultfields- not published by defaultauth- auth/register/reset formscontent- example templates for contentprofile- auth user profile form
Laravel File Manager (v2)
If needed, install LFM:
composer require unisharp/laravel-filemanager
Publish LFM files: config/lfm.php, public/vendor/laravel-filemanager:
php artisan vendor:publish --tag=lfm_config php artisan vendor:publish --tag=lfm_public
Recommend set LFM paths config/lfm.php:
'shared_folder_name' => 'shares', //... 'folder_categories' => [ 'file' => [ 'folder_name' => 'lfm-files', //... ], 'image' => [ 'folder_name' => 'lfm-photos', //... ], ],
Usage
In dir resources/views/vendor/lte you can edit, create, delete blade-files.
For simple manage file-fields use fomvasss/laravel-medialibrary-extension
Credits
fomvasss/laravel-its-lte 适用场景与选型建议
fomvasss/laravel-its-lte 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 817 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 12 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「control」 「panel」 「dashboard」 「fields」 「lte」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 fomvasss/laravel-its-lte 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 fomvasss/laravel-its-lte 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 fomvasss/laravel-its-lte 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
2lenet/EasyAdminPlusBundle
Provide a way to secure accesses to all routes of an symfony application.
Analysis module for finding problematical shop data.
Yii2 panel widget
A Laravel Admin Package for The Control Group to make your life easier and steer your project in the right direction
Yii2 prettyPhoto image galary widget uses Lightbox view control jquery.prettyphoto.js
统计信息
- 总下载量: 817
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-17
