1. Go to this page and download the library: Download pdmfc/nova-info-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/ */
pdmfc / nova-info-card example snippets
use Pdmfc\NovaCards\Info;
//...
public function cards()
{
return [
(new Info())
->info('Some info message')
];
}
(new Info())
->heading('Info heading')
->info('Some info message')
(new Info())
->info('Be sure to like this package and give us your feedback in
<a href="https://github.com/pdmfc/nova-info-card/" class="underline font-bold text-blue-800">our repository</a>!')
->asHtml(),
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.