Download the PHP package zenepay/filament-buddhist-date-picker without Composer
On this page you can find all versions of the php package zenepay/filament-buddhist-date-picker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-buddhist-date-picker
Filament Buddhist DatePicker/DateTimePicker Extension
This package adds buddhistEra support to filament v3 DatePicker
and DateTimePicker
.
https://filamentphp.com/docs/3.x/forms/fields/date-time-picker
Installation
You can install the package via composer:
Usage
1. For all languages in Buddhist year
2. For all Thai language in Christian year
2. For some languages in Buddhist year
3. For display weekdays Min or set weekdaysMin:false for weekdays Short format
You can also use this way
Or make alias to DatePicker and replace use Filament\Forms\Components\DatePicker to use Zenepay\FilamentBuddhistDatePicker\BuddhistDatePicker as DatePicker
4. For who might love AM/PM hour mode
For Datetime format with AM PM 12H, which was available at https://github.com/filamentphp/filament/pull/6441, now it can be combined with Buddhist Era as optional.
5. Use Buddhist Era in TextColumn in table
This can be done by replace $table->date() with $table->buddhistDate() for dateTime replace with $table->buddhistDateTime()
Test
./vendor/bin/pest ./tests
Demo & Show Case
- Water Billing
- user login: [email protected]
- password: demo1234
Credits
- zenepay
- All Contributors
License
The MIT License (MIT)
Filament DatePicker และ DateTimePicker Extension สำหรับ calendar ภาษาไทย และ ปี พุทธศักราช
ใช้สำหรับ Larvavel 10 และ 11 Filament v3 DatePicker
DateTimePicker
.
การติดตั้ง
รัน composer ที่ root ไดเร็กทอรีของ Laravel
การใช้งาน
1. กรณีต้องการให้ทุกภาษา เป็น พ.ศ.
2. กรณีให้ทุกภาษา เป็น ค.ศ ซึ่งจะรองรับ ภาษาไทย ด้วย
2. กรณีให้บางภาษา เป็น เป็น พ.ศ นอกนั้นให้เป็น ค.ศ
3. กรณีใช้ชื่อย่อแทนวัน เช่น อ. จ อ พ พฤ ศ ส
ให้เซ็ต weekdaysMin เป็น true หรือให้เป็นแบบสั้น อาทิตย์ จันทร์ อังคาร ให้เซ็ต เป็น false
หรือใช้แบบ เป็น component ใหม่แทนเลย ก็ใช้แบบนี้ได้
หรือเปลี่ยน การใช้ use Filament\Forms\Components\DatePicker เป็น ใช้ use Zenepay\FilamentBuddhistDatePicker\BuddhistDatePicker as DatePicker แทน เพื่อไม่ต้องไล่แก้ ใส่ buddhist() แต่ละ DatePicker component ในหน้านั้น
4. For who might love AM/PM hour mode
For Datetime format with AM PM 12H, which was available at https://github.com/filamentphp/filament/pull/6441, now it can be combined with Buddhist Era as optional.
5. Use Buddhist Era in TextColumn in table
This can be done by replace $table->date() with $table->buddhistDate() for dateTime replace with $table->buddhistDateTime()
Test
./vendor/bin/pest ./tests
Demo & Show Case
- Water Billing
- user login: [email protected]
- password: demo1234
Credits
- zenepay
- All Contributors
License
The MIT License (MIT)
All versions of filament-buddhist-date-picker with dependencies
spatie/laravel-package-tools Version ^1.15.0
blade-ui-kit/blade-heroicons Version ^2.3