abyssgoing / dcat-extension-config
用于配置系统中各种的动态变量
dev-main
2023-11-30 02:03 UTC
Requires
- php: >=7.1.0
- dcat/laravel-admin: ~2.0
This package is auto-updated.
Last update: 2025-03-01 00:32:55 UTC
README
Requirement
- PHP >= 7.1
- laravel >= 7.0
- dcat-admin >= 2.0
Installation
Composer installation
composer require abyssgoing/dcat-extension-config
Enable the extension under Backend -> Helpers -> Extensions
View
Use
Open the file app/Providers/AppServiceProvider.php
to load variable configuration.
use Ll\DcatConfig\LlConfig; public function boot() { if (Schema::hasTable('ll_configs')) { LlConfig::load(); } }