PHPackages                             shalior/filament-persian-date-field - 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. shalior/filament-persian-date-field

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

shalior/filament-persian-date-field
===================================

A FilamentPhp form field to pick persian dates

v2.0.1(1y ago)193.1k↑11.9%3[3 issues](https://github.com/shalior/filament-persian-date-field/issues)[2 PRs](https://github.com/shalior/filament-persian-date-field/pulls)MITPHPPHP ^8.0CI passing

Since Apr 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/shalior/filament-persian-date-field)[ Packagist](https://packagist.org/packages/shalior/filament-persian-date-field)[ Docs](https://github.com/shalior/filament-persian-date-field)[ RSS](/packages/shalior-filament-persian-date-field/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (9)Versions (14)Used By (0)

A FilamentPhp form field to pick persian (jalali) dates
=======================================================

[](#a-filamentphp-form-field-to-pick-persian-jalali-dates)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a8b49e647650ef88fabd06b2501128efcce329ce040b56e16e0b23f0bebeaf80/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368616c696f722f66696c616d656e742d7065727369616e2d646174652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shalior/filament-persian-date-field)[![Total Downloads](https://camo.githubusercontent.com/89f097fcef733dca3aa9812245bb12534be4d81e62b8b5b66cc4d187e7950caf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7368616c696f722f66696c616d656e742d7065727369616e2d646174652d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/shalior/filament-persian-date-field)

[![filament-demo](https://user-images.githubusercontent.com/42506404/165785421-338f2b0a-8995-40e5-9c37-33c3a3cd9736.png)](https://user-images.githubusercontent.com/42506404/165785421-338f2b0a-8995-40e5-9c37-33c3a3cd9736.png)

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

[](#installation)

You can install the package via composer:

```
composer require shalior/filament-persian-date-field
```

***To use with filament v2 use version ^1***

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-persian-date-field-config"
```

Usage
-----

[](#usage)

You'll use this component with [Filament forms](https://filamentphp.com/docs/2.x/forms/installation).

It syncs the related gregorian date (as string: `Y-m-d`) with your LiveWire component. Use the field like any other filament form fields:

```
    protected function getFormSchema(): array
    {
        return [
            \Shalior\FilamentPersianDateField\Components\PersianDatePicker::make('persianDate')
            ->id('persian-date')
            ->maxDate(now()->format('Y-m-d'))
            ->minDate(now()->subWeek()->format('Y-m-d'))
            ->withoutTime()
            ->viewMode('month') // accepts 'day', 'month', 'year'
            ->default('2022-04-28'),
        ];
    }
```

Persian date table column
-------------------------

[](#persian-date-table-column)

You can use this field as a column in your table:

The column assumes you've installed [verta](https://github.com/hekmatinasser/verta) or [morilog/jalali](https://github.com/morilog/jalali)if neither of them is installed, it will use Carbon's `translatedFormat()`

```
    Shalior\FilamentPersianDateField\Columns::make('created_at')
        ->translateLabel()
        ->format('Y/m/d') // default is 'H:i:s Y/m/d'
        ->timeZone('Asia/Tehran'), // default is 'Asia/Tehran'
        // renders as: ۱۳۹۹/۰۸/۰۱ in the table
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

I Encourage you to do so.

Credits
-------

[](#credits)

- [Shalior](https://github.com/shalior)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance42

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 69.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~109 days

Recently: every ~200 days

Total

11

Last Release

433d ago

Major Versions

v1.x-dev → v2.0.02024-01-06

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/42506404?v=4)[Ali Shalior](/maintainers/shalior)[@shalior](https://github.com/shalior)

---

Top Contributors

[![shalior](https://avatars.githubusercontent.com/u/42506404?v=4)](https://github.com/shalior "shalior (36 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (8 commits)")

---

Tags

filament-formjalalijalali-calendarjalali-date-pickerlaravellaravel-packagepersianpersian-calendarpersian-datepickerphptall-stacklaravelshaliorfilament-persian-date-field

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/shalior-filament-persian-date-field/health.svg)

```
[![Health](https://phpackages.com/badges/shalior-filament-persian-date-field/health.svg)](https://phpackages.com/packages/shalior-filament-persian-date-field)
```

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[rawilk/filament-password-input

Enhanced password input component for filament.

52263.4k14](/packages/rawilk-filament-password-input)[promethys/revive

A 'RecycleBin' page where users can restore or delete permanently soft-deleted models.

162.9k](/packages/promethys-revive)[biostate/filament-menu-builder

An Elegant Menu Builder for FilamentPHP

6528.1k2](/packages/biostate-filament-menu-builder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
