Runtime config based on collection for Laravel
php: >=8.0
laravel/framework: ^9.0
# Install the package
composer require stepanenko3/laravel-runtime-config
use Stepanenko3\LaravelRuntimeConfig\Facades\RuntimeConfig;
RuntimeConfig::putMany([
'demo' => 100,
]);
RuntimeConfig::get('demo'); // result: 100
runtime_config('demo'); // result: 100
Thank you for considering contributing to this package! Please create a pull request with your contributions with detailed explanation of the changes you are proposing.
This package is open-sourced software licensed under the MIT license.