Download the PHP package mrezanomani/livewire-jalali-datepicker without Composer
On this page you can find all versions of the php package mrezanomani/livewire-jalali-datepicker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrezanomani/livewire-jalali-datepicker
More information about mrezanomani/livewire-jalali-datepicker
Files in mrezanomani/livewire-jalali-datepicker
Package livewire-jalali-datepicker
Short Description A lightweight Jalali datepicker for Livewire 3
License MIT
Informations about the package livewire-jalali-datepicker
Livewire Jalali Datepicker
A lightweight, Alpine.js-based Jalali (Persian) datepicker for Laravel Livewire 3 â with full Livewire 3 support, wire:model compatibility, and no need for jQuery or npm packages.
â Features
- Jalali (Persian) calendar support
- Compatible with Livewire 3
- Alpine.js powered
- Lightweight, no Vue/React
- Optional time selection
- Works out of the box via CDN
đĻ Installation
1. Install via Composer (local or from GitHub)
If installing from GitHub directly, use:
đ Publish views (optional)
If you want to customize the blade view:
đ Setup JS & CSS (via CDN)
Add the following to your main Blade layout (e.g. resources/views/layouts/app.blade.php):
In <head>:
Before closing </body> tag:
âšī¸ No need to use npm or Vite build. This component works with CDN scripts!
â Usage
In any Blade file:
In Livewire component:
đ§Š Parameters
| Prop | Type | Description |
|---|---|---|
wire:model |
string | Livewire bound model |
format |
string | Output format (default: YYYY-MM-DD) |
with-time |
boolean | Enable time picker (default: false) |
đ¤ Contributing
Pull requests are welcome!
If you encounter a bug or want a new feature, feel free to open an issue.
đ License
MIT Š Mrezanomani