update config file using code laravel code example Example: laravel use config use Illuminate\Support\Facades\Config;