Looking to hire Laravel developers? Try LaraJobs

laravel-configs maintained by plin2k

Description
Laravel Configs
Author
Last update
2021/04/11 20:41 (dev-main)
License
Downloads
8

Comments
comments powered by Disqus

laravel-configs

Add the service provider to config/app.php in the providers array, or if you're using Laravel 5.5, this can be done via the automatic package discovery.

LaravelConfigs\Providers\LaravelConfigsServiceProvider::class,

If you want you can use the facade. Add the reference in config/app.php to your aliases array.

'SimpleConfig' => LaravelConfigs\Facades\SimpleConfig::class,

If you want you can get value in blade template.

@simpleConfig('name','default')