PHP code example of stepanenko3 / laravel-runtime-config
1. Go to this page and download the library: Download stepanenko3/laravel-runtime-config library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
stepanenko3 / laravel-runtime-config example snippets
use Stepanenko3\LaravelRuntimeConfig\Facades\RuntimeConfig;
RuntimeConfig::putMany([
'demo' => 100,
]);
RuntimeConfig::get('demo'); // result: 100
runtime_config('demo'); // result: 100