PHP code example of skydiver / nova-update-card
1. Go to this page and download the library: Download skydiver/nova-update-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/ */
skydiver / nova-update-card example snippets
// in app/Providers/NovaServiceProvder.php
// ...
public function cards()
{
return [
// ...
(new \Skydiver\NovaUpdateCard\LaravelUpdateCard)->width('1/2'),
(new \Skydiver\NovaUpdateCard\NovaUpdateCard)->width('1/2'),
];
}