Download the PHP package aicrion/date-converter without Composer
On this page you can find all versions of the php package aicrion/date-converter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aicrion/date-converter
More information about aicrion/date-converter
Files in aicrion/date-converter
Download aicrion/date-converter
More information about aicrion/date-converter
Files in aicrion/date-converter
Vendor aicrion
Package date-converter
Short Description High-performance PHP library for converting between Gregorian, Jalali (Persian) and Hijri (Islamic) calendars.
License MIT
Homepage https://github.com/aicrion/date-converter-php
Package date-converter
Short Description High-performance PHP library for converting between Gregorian, Jalali (Persian) and Hijri (Islamic) calendars.
License MIT
Homepage https://github.com/aicrion/date-converter-php
Please rate this library. Is it a good library?
Informations about the package date-converter
Aicrion Date Converter
A high-performance, zero-dependency PHP 8.2+ library for converting dates between Gregorian, Jalali (Persian/Shamsi), and Hijri (Islamic/Qamari) calendars.
Why this library?
- Single pivot architecture — every calendar converts to/from a Julian Day Number (JDN), so adding a new calendar never touches existing conversion logic.
- Astronomically accurate Jalali algorithm — uses the Birashk/Borkowski break-point algorithm (same base as
jalaali-js), correct across an extremely wide year range, not a naive fixed 33-year approximation. - Modern PHP — readonly classes, backed enums, strict types, first-class callable syntax, PHP 8.2+ only.
- Zero runtime dependencies.
- Safe by design — every conversion validates the source date and the resulting target bounds;
canConvert()lets you check feasibility without exceptions.
Installation
Quick start
Supported input formats
Checking feasibility
Today in any calendar
Documentation
Full API reference, algorithm notes, and advanced usage examples are published at:
https://aicrion.github.io/date-converter-php/
Testing
Benchmarks
📜 License
Created with ❤️ by Aicrion. Licensed under the MIT License. Free to use, modify, and distribute!
All versions of date-converter with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
ext-mbstring Version *
ext-mbstring Version *
The package aicrion/date-converter contains the following files
Loading the files please wait ...