PHP code example of dyned / lumen-maintenance-mode
1. Go to this page and download the library: Download dyned/lumen-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/ */
dyned / lumen-maintenance-mode example snippets
$app->register(DynEd\Lumen\MaintenanceMode\MaintenanceModeServiceProvider::class);
php artisan down
php artisan down --message="Upgrading Database" --retry=60
php artisan up