environment() != 'local') { return abort(403, 'You are not authorized to access this'); } return $next($request); } }