You are viewing documentation for an outdated version. It is no longer supported!

Setup

Register Service Provider

Register MaintenanceModeServiceProvider inside your config/app.php.

return [

    // ... previous not shown ... //

    /*
    |--------------------------------------------------------------------------
    | Autoloaded Service Providers
    |--------------------------------------------------------------------------
    */

    'providers' => [

        \Aedart\Maintenance\Modes\Providers\MaintenanceModeServiceProvider::class

        // ... remaining services not shown ... //
    ],
];