PHP code example of aedart / athenaeum-maintenance-modes
1. Go to this page and download the library: Download aedart/athenaeum-maintenance-modes 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/ */
aedart / athenaeum-maintenance-modes example snippets
// ...somewhere inside your application
$mode = $app->maintenanceMode();
$mode->activate([
'secret' => '1630542a-246b-4b66-afa1-dd72a4c43515'
]);
// ...etc