PHPackages                             aliqasemzadeh/livewire-jalali-date-picker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aliqasemzadeh/livewire-jalali-date-picker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aliqasemzadeh/livewire-jalali-date-picker
=========================================

A Livewire component for Jalali (Persian) date picker with AlpineJS

0.4.0(1y ago)08MITPHPPHP ^8.0

Since May 28Pushed 1y agoCompare

[ Source](https://github.com/aliqasemzadeh/LivewireJalaliDatePicker)[ Packagist](https://packagist.org/packages/aliqasemzadeh/livewire-jalali-date-picker)[ RSS](/packages/aliqasemzadeh-livewire-jalali-date-picker/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Livewire Jalali Date Picker
===========================

[](#livewire-jalali-date-picker)

A Livewire component for Jalali (Persian) date picker with AlpineJS.

Features
--------

[](#features)

- Jalali (Persian) calendar support
- Leap year calculation for Esfand (اسفند) month
- Year selection with both input field and dropdown options
- Month selection with proper Jalali month names
- Day selection that adjusts based on the selected month and year
- Inline or column layout options
- Default to today's date option
- Fully customizable through configuration

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- Laravel 8.0 or higher
- Livewire 2.0 or higher
- AlpineJS

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require aliqasemzadeh/livewire-jalali-date-picker
```

After installing the package, you can publish the config file with:

```
php artisan vendor:publish --provider="Aliqasemzadeh\LivewireJalaliDatePicker\LivewireJalaliDatePickerServiceProvider" --tag="config"
```

You can also publish the views if you need to customize them:

```
php artisan vendor:publish --provider="Aliqasemzadeh\LivewireJalaliDatePicker\LivewireJalaliDatePickerServiceProvider" --tag="views"
```

Usage
-----

[](#usage)

In your Livewire component, you can use the JalaliDatePicker like this:

```
