linnella / config
Config extension for admin
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/linnella/config
Requires
- php: >=7.0.0
- laravel/framework: ~5.5
- linnella/core: 1.0
Requires (Dev)
- laravel/laravel: ~5.5
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2025-09-28 10:21:42 UTC
README
Installation
$ composer require linnella/config:dev-master
$ php artisan migrate
Open app/Providers/AppServiceProvider.php
, and call the Config::load()
method within the boot
method:
<?php namespace App\Providers; use Core\Admin\Config\Config; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() { Config::load(); } }
Then run:
$ php artisan admin:import config
Open http://host/admin/config
Usage
After add config in the panel, use config($key)
to get value you configured.
License
Licensed under The MIT License (MIT).