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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filament-buddhist-date-picker

Filament Buddhist DatePicker/DateTimePicker Extension

Latest Stable Version Total Downloads License PHP Version Require

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

Credits

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

Credits

License

The MIT License (MIT)


All versions of filament-buddhist-date-picker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
spatie/laravel-package-tools Version ^1.15.0
blade-ui-kit/blade-heroicons Version ^2.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zenepay/filament-buddhist-date-picker contains the following files

Loading the files please wait ....