PHP code example of charlielangridge / fathom-stats-display
1. Go to this page and download the library: Download charlielangridge/fathom-stats-display 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/ */
charlielangridge / fathom-stats-display example snippets
namespace App\Nova\Dashboards;
use CharlieLangridge\FathomStatsDisplay\FathomStatsDisplay;
use Laravel\Nova\Dashboards\Main as Dashboard;
class Main extends Dashboard
{
/**
* Get the cards for the dashboard.
*
* @return array
*/
public function cards()
{
return [
new FathomStatsDisplay,
];
}
}