PHP code example of webcoms / nova-datepicker

1. Go to this page and download the library: Download webcoms/nova-datepicker 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/ */

    

webcoms / nova-datepicker example snippets


// in a Nova Resource

use WebcomMedia\Datepicker\Datepicker;

public function fields(Request $request)
{
    return [
        Datepicker::make('Deliverable at', 'deliverable_at')
            ->showWeekNumbers(),
    ]
}