PHP code example of nickfairchild / nova-at-a-glance-card
1. Go to this page and download the library: Download nickfairchild/nova-at-a-glance-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/ */
nickfairchild / nova-at-a-glance-card example snippets
// in app/Providers/NovaServiceProvider.php
// ...
public function cards()
{
return [
// ...
new \Nickfairchild\AtAGlance\AtAGlance,
];
}
public function cards()
{
return [
// ...
(new \Nickfairchild\AtAGlance\AtAGlance)->excludeResources([Pages::class]),
];
}