PHP code example of congnqnexlesoft / laravel-maintenance-mode
1. Go to this page and download the library: Download congnqnexlesoft/laravel-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/ */
congnqnexlesoft / laravel-maintenance-mode example snippets
// 2nd, should below `Cors` and don't use 'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode'
\CongnqNexlesoft\MaintenanceMode\Http\Middleware\MaintenanceModeMiddleware::class,
resources/views/errors/503.blade.php
storage/framework/.gitignore
shell
php artisan down
shell
php artisan up