Download the PHP package asorasoft/chhankitek without Composer
On this page you can find all versions of the php package asorasoft/chhankitek. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asorasoft/chhankitek
More information about asorasoft/chhankitek
Files in asorasoft/chhankitek
Package chhankitek
Short Description Convert from AD (Anno Domini) to Lunar (Chhankitek) format.
License MIT
Homepage https://github.com/HELMAB/chhankitek
Informations about the package chhankitek
Chhankitek for Laravel
A Laravel package to convert dates to Lunar (Chhankitek) format. Learn more about Khmer calendar.
Installation
You can install the package via composer:
Usage
Available Methods
Alternatively, you can use the toLunarDate
helper function:
Caching
The Chhankitek package implements caching to improve performance when converting dates to lunar format. When you convert a date using the package, the result is cached for one year (365 days) to minimize computational overhead for frequently accessed dates.
How caching works
- Each converted date is cached
- Cache duration: 365 days (60 60 24 * 365 seconds)
- The package leverages Laravel's cache system, so it will use whatever cache driver you've configured for your application
Testing
Changelog
Please see CHANGELOG for more information about recent changes.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Support
If you like this package and want to support me, you can buy me a coffee ☕
Credits
- Mab Hel
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Authors and Acknowledgment
This library would not exist without the hard work of these people:
- Based on the algorithm by
Mr. Phylypo Tum
from Khmer Calendar - Ported from momentkh by
ThyrithSor
intoJava
- Khmer New Year Time Calculation
- Ported from MetheaX/khmer-chhankitek-calendar by
MetheaX
into aLaravel Package