Manage Maintenance Mode in Laravel Nova

Manage Maintenance Mode in Laravel Nova

If for some reason you’ve been on another planet (see what I did there?), Laravel Nova is Now Available and the community has been rather busy building open-source tools around Nova.

One of those open-source tools is by David Piesse, who created a Laravel Nova extension that allows you to manage the maintenance mode of your application from Nova:

In Laravel, maintenance mode makes it easy to disable your application while you are performing maintenance on the application. With maintenance mode enabled, your application will return a 503 status code during maintenance. Now with this plugin, you can conveniently toggle maintenance mode from the Nova UI.

To install this package, first you need to require the package in your app’s composer file:

composer require davidpiesse/nova-maintenance-mode

Next, you need to register the maintenance mode tool with Nova in your app’s NovaServiceProvider:

public function tools()
{
    return [
        // ...
        new \Davidpiesse\NovaMaintenanceMode\Tool(),
    ];
}

You can check out the Maintenance Mode for Laravel Nova package on GitHub, which includes the source code an install instructions.

Since the release of Laravel Nova on August 22nd, the community has already produced a significant number of open-source ideas and packages. Nova too has already seen multiple patches and updates, and it’s excellent to see a thriving community growing and producing amazing tools (and documentation) around Laravel Nova.


Filed in: News / Nova


Newsletter

Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior Full-Stack Developer (PHP+JS)
Remote
The Interaction Design Foundation
Senior Laravel Developer
Remote
Sonar
Laravel / Vue.JS Developer - Join an amazing team!
Remote
JTR Solutions
Mid / Sen. Software Engineer
Clearwater, FL
ShineOn
Remote PHP / Laravel Developer
Remote
SpringboardVR
Senior PHP/Laravel Developer: Your Dream Work Environment
Remote
iPhone Photography School
Senior Laravel Developer
Leidseplein, Amsterdam
Orderchamp.com