PHP code example of edulazaro / wirepicker
1. Go to this page and download the library: Download edulazaro/wirepicker 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/ */
edulazaro / wirepicker example snippets
public array $period = ['start' => '', 'end' => ''];
blade
<x-wiretimepicker wire:model="sendAt" />
<x-wiretimepicker wire:model="opensAt" min="06:00" max="22:00" :step="30" />
blade
<x-wirepicker name="starts_on" value="2026-10-08" />
<x-wirepicker range name="period" :value="['start' => '2026-10-01', 'end' => '2026-10-31']" />
bash
php artisan vendor:publish --tag=wirepicker-lang