change production environment to development laravel code example
Example: laravel APP_ENV config
if (\Illuminate\Support\Facades\App::environment('production')) {
// The environment is production
}
if (\Illuminate\Support\Facades\App::environment('production')) {
// The environment is production
}