PHP code example of j3rrey / lumen-5-maintenance-mode

1. Go to this page and download the library: Download j3rrey/lumen-5-maintenance-mode library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

j3rrey / lumen-5-maintenance-mode example snippets


$app->register(
    j3rrey\MaintenanceMode\Providers\MaintenanceModeServiceProvider::class
);

resources/views/errors/503.blade.php

php artisan down

php artisan up