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 .

One of those open-source tools is by David Piesse, who created a Nova extension that allows you to the 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 DavidpiesseNovaMaintenanceModeTool(),

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.

Source link https://laravel-news.com/manage-maintenance-mode-in-laravel-nova


Please enter your comment!
Please enter your name here