PHP code example of servitorhq / nova-servitor-monitor-card
1. Go to this page and download the library: Download servitorhq/nova-servitor-monitor-card 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/ */
servitorhq / nova-servitor-monitor-card example snippets
'nova_servitor_cards' => [
'api_key' => env('SERVITOR_API_KEY'),
],
/**
* Get the cards that should be displayed on the Nova dashboard.
*
* @return array
*/
protected function cards()
{
return [
(new NovaServitorMonitorCard())->setMonitor('servitor.io'),
];
}