laravel custom config variables example
Example 1: laravel set config
config()->set('config.path', $value);
Example 2: laravel use config
use Illuminate\Support\Facades\Config;
Example 3: Laravel - How to create custom configuration variables and access
<?php
// config/common.php
return [
'noOfRecords' => 8,
];