PHP code example of scouser03 / nova-multi-date
1. Go to this page and download the library: Download scouser03/nova-multi-date 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/ */
scouser03 / nova-multi-date example snippets
namespace App\Nova;
use Scouser03\NovaMultiDate\NovaMultiDate;
class BlogPost extends Resource
{
// ...
public function fields(Request $request)
{
return [
// ...
NovaMultiDate::make('multi dates', 'multi_dates'),
// ...
];
}
}