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