laveroadmin / config
Config extension for LaveroAdmin
v1.1.0
2026-11-26 05:08 UTC
Requires
- php: >=7.3
- laravel/framework: ^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- laveroadmin/laveroadmin: ^1.0
Requires (Dev)
- laravel/laravel: >=8.0
- phpunit/phpunit: ~6.0|^7.0|^8.0|^9.0|^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-26 05:13:10 UTC
README
Database configuration manager for LaveroAdmin.
Repository: https://github.com/LaveroAdmin/config
Installation
composer require laveroadmin/config php artisan migrate php artisan admin:import config
In app/Providers/AppServiceProvider.php, call Config::load() within the boot method:
namespace App\Providers; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; use LaveroAdmin\Admin\Config\Config; class AppServiceProvider extends ServiceProvider { public function boot() { $table = config('admin.extensions.config.table', 'admin_config'); if (Schema::hasTable($table)) { Config::load(); } } }
Open /admin/config in your browser.
Usage
After adding settings in the admin panel, retrieve them anywhere using Laravel's native config('key').
License
Licensed under The MIT License (MIT).
Thanks
- Special thanks to open-admin for open-admin development.
- Special thanks to z-song for original development.