plin2k/laravel-configs

1.0.0 2021-04-11 18:41 UTC

This package is auto-updated.

Last update: 2025-06-12 04:01:04 UTC


README

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')