laravel check environment
if (App::environment('local')) {
    // The environment is local
}
if (App::environment(['local', 'staging'])) {
    // The environment is either local OR staging...
}
// or using the 'app' helper
if (app()->environment('local')) {
    // The environment is local
}
if (app()->environment(['local', 'staging'])) {
    // The environment is either local OR staging...
}
// using config
if(config('app.env' == 'local')){
	// The environment is local
}
if(in_array(config('app.env'), ['local', 'staging'])){
	// The environment is either local OR staging...
}
