1. Go to this page and download the library: Download pppcreative/date-picker 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/ */
pppcreative / date-picker example snippets
php
composer vendor:publish --tag=date-picker
php
use Wame\DatePicker\DatePicker;
(new DatePicker())->width('full')
// Options:
->userDisable(true) // default false
->addParameter('address')
->getDateRange() // define count days in config
php
'date' => [
"7",
"30",
"60",
"90",
"365",
]
php
public function cards()
{
return [
(new DatePicker())
->width('full')
->userDisable(false)
->addParameter('id')
->getDateRange(),
]
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.