CheckForMaintenanceMode
class CheckForMaintenanceMode (View source)
Properties
| protected Application | $app | The application implementation. |
|
| protected array | $except | The URIs that should be accessible while maintenance mode is enabled. |
Methods
void
bool
inExceptArray(Request $request)
Determine if the request has a URI that should be accessible in maintenance mode.
Details
void
__construct(Application $app)
Create a new middleware instance.
protected bool
inExceptArray(Request $request)
Determine if the request has a URI that should be accessible in maintenance mode.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.