bfg / admin-configs
Config extension for bfg admin
1.0.0
2024-07-17 21:51 UTC
Requires
- php: ^8.0|^8.1
- bfg/admin: ^5.5.2|^6.0
This package is auto-updated.
Last update: 2026-02-18 01:28:40 UTC
README
Install
composer require bfg/admin-configs
Admin install
php artisan admin:extension bfg/admin-configs --install
php artisan migrate
Open app/Providers/AppServiceProvider.php, and call the Config::load() method within the boot method:
<?php namespace App\Providers; use Admin\Extend\AdminConfigs\Config; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() { if (Schema::hasTable('admin_config')) { Config::load(); } } }