PHP code example of afj95 / laravel-nova-hijri-datepicker-field
1. Go to this page and download the library: Download afj95/laravel-nova-hijri-datepicker-field 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/ */
afj95 / laravel-nova-hijri-datepicker-field example snippets
use Afj95\LaravelNovaHijriDatepickerField\HijriDatePicker;
HijriDatePicker::make('Date', 'date')
->format('iYYYY/iMM/iDD')
->placeholder('YYYY/MM/DD')
->selected_date('1444/12/12')
->placement('bottom'),