Download the PHP package ariaieboy/filament-jalali without Composer
On this page you can find all versions of the php package ariaieboy/filament-jalali. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ariaieboy/filament-jalali
More information about ariaieboy/filament-jalali
Files in ariaieboy/filament-jalali
Package filament-jalali
Short Description Add Jalali/Shamsi support for FilamentPHP
License MIT
Homepage https://github.com/ariaieboy/filament-jalali
Informations about the package filament-jalali
Filament Jalali/Shamsi Support
This package adds Jalali/Shamsi support to filament v5 for filament v4 check branch v2 and for filament v3 check branch v1.
We have Jalali/Shamsi support for DatePicker,DateTimePicker,TextColumn, TextEntry and DateConstraint.
It's a replacement for ariaieboy/filament-jalali-datetime and ariaieboy/filament-jalali-datetimepicker. For Upgrade guide check here
Installation
You can install the package via composer:
Usage
For more information check the default DateTimePicker Docs
For more information check the default TextColumn Docs
For more information check the default TextEntry Docs
For more information check the default DateConstraint Docs
We don't support
IsJalaliMonthOperatorsince there is not and efficient way to query georgian month according to the jalali/shamsi month.Fill free to open a PR that adds
IsJalaliMonthOperatorif you have an algorithm to convert jalali/shamsi month to georgian month.
Localization
We support localization for Persian (Farsi), English, Pashto, Dari out of the box. To enable it, you need to set your application's locale to fa,en,fa_AF,ps in the config/app.php file:
You can publish the localization files to customize them:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Upgrade
from v2
If you are using the V2 of the ariaieboy/filament-jalali you need to change the package version in your composer.json to
Then run composer update command.
from v1
If you are using the V1 of the ariaieboy/filament-jalali you need to change the package version in your composer.json to
Then run composer update command.
from ariaieboy/filament-jalali-datetimepicker
If you are using the V3 of the jalali-datetimepicker you don't need to do anything just replace ariaieboy/filament-jalali-datetimepicker with ariaieboy/filament-jalali
from ariaieboy/filament-jalali-datetime
If you use the jalaliDate() and jalaliDateTime() on the TextColumn you can upgrade without any problem.
But if you use the JalaliDateTimeColumn you need to change it to TextColumn and convert dateTime() to jalaliDateTime() and date() to jalaliDate()
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- ariaieboy
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-jalali with dependencies
spatie/laravel-package-tools Version ^1.13.5
filament/filament Version ^5
ariaieboy/jalali Version ^1.0.1