1. Go to this page and download the library: Download dillingham/nova-list-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/ */
dillingham / nova-list-card example snippets
namespace App\Nova\Metrics;
use App\Nova\User;
use NovaListCard\ListCard;
class RecentUsers extends ListCard
{
/**
* Setup the card options
*/
public function __construct()
{
$this->resource(User::class)
->heading('Recent Users')
->orderBy('created_at', 'desc')
->timestamp()
->viewAll();
}