composer require devingray/nova-endpoint-cards
Register the card in the same way that you would a normal Nova Card. By Default it will make use of a temporary route that will simply return a random number between 1000 and 5000
<?php
use DevinGray\NovaEndpointCards\NovaEndpointCards;
protected function cards()
{
return [
new NovaEndpointCards
];
}Readme not found. Refer to the project website: https://github.com/devingray/Nova-EndPoint-Cards
| Added | 6 years ago |
This package should be on the Packagist API but we're not getting any results.
Please note that the Packagist cache is pretty long, so some times you just need to check back in an hour.