PHP code example of memora / statut
1. Go to this page and download the library: Download memora/statut 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/ */
memora / statut example snippets
use Memora\Statut\Facades\Statut;
$overview = Statut::getOverview();
$monitors = Statut::listMonitors();
$incidents = Statut::getActiveIncidents();
$this->app->singleton(\Memora\Statut\Contracts\MonitoringProvider::class, fn () => new MonNouveauProvider($config));
bash
php artisan vendor:publish --tag=statut-config
bash
php artisan vendor:publish --tag=statut-views
php artisan vendor:publish --tag=statut-lang