PHP code example of yasudacloud / lumaintenance
1. Go to this page and download the library: Download yasudacloud/lumaintenance 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/ */
yasudacloud / lumaintenance example snippets
php: ^7.3|^8.0
laravel/lumen-framework: ^8.0
cp vendor/yasudacloud/lumaintenance/config/lumaintenance.php config/lumaintenance.php
php artisan lumain
php artisan lumain:local down
php artisan lumain:local down --allow=127.0.0.1,192.168.0.100
php artisan lumain:local up