PHPackages                             borsaco/jalali-date-time - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. borsaco/jalali-date-time

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

borsaco/jalali-date-time
========================

Jalali (Shamsi) DateTime class written in PHP, Supports year higher than 2038

1.0.0(6y ago)04911MITPHPPHP &gt;=7.1

Since Jul 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/borsaco/JalaliDateTime)[ Packagist](https://packagist.org/packages/borsaco/jalali-date-time)[ Docs](http://ericomgroup.com)[ RSS](/packages/borsaco-jalali-date-time/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

jalaliDateTime
==============

[](#jalalidatetime)

PHP class to convert dates from Gregorian calendar system to Jalali calendar system and vice versa. Supports dates beyond 2038.
Jalali, also known as Shamsi or Hijri Shamsi is the Iranian calendar system.

Installation
============

[](#installation)

Using Composer
--------------

[](#using-composer)

You can install this package using [composer](https://getcomposer.org).

```
composer require borsaco/jalali-date-time
```

Manual Installation
-------------------

[](#manual-installation)

Get a copy of package source code. You can do this in two ways:

1. Download ZIP version of the source code and unzip it in desired location
2. Run `git clone https://github.com/borsaco/JalaliDateTime.git` to clone this repository

After getting a copy of source code, it is enough to include `jdatetime.class.php` where you need to use it.

```
require_once 'path/to/source/jdatetime.class.php';
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2496d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e9927d777a2f4eda2e5ad7e16fbc081d1702cd63434a962b51a63d878c2c390?d=identicon)[seddighi78](/maintainers/seddighi78)

---

Top Contributors

[![seddighi78](https://avatars.githubusercontent.com/u/29895767?v=4)](https://github.com/seddighi78 "seddighi78 (2 commits)")

---

Tags

datetimetimedateJalaliiranpersianshamsifarsijalalidatejdatetime

### Embed Badge

![Health badge](/badges/borsaco-jalali-date-time/health.svg)

```
[![Health](https://phpackages.com/badges/borsaco-jalali-date-time/health.svg)](https://phpackages.com/packages/borsaco-jalali-date-time)
```

###  Alternatives

[symfony_persia/symfonyjdate

Jalali (Shamsi) DateTime for Symfony2, Supports year higher than 2038

1010.6k](/packages/symfony-persia-symfonyjdate)[hekmatinasser/verta

This Package helps developers to work with Jalali Datetime class for Laravel Framework PHP

657530.5k27](/packages/hekmatinasser-verta)[opilo/farsi

Farsi Tools for Dates and Numbers and Strings (with Laravel Validation Support)

333.2k1](/packages/opilo-farsi)[iamfarhad/validation

🇮🇷 Complete Laravel Persian validation package - Iranian national ID, mobile numbers, Shamsi dates, IBAN/Sheba, postal codes &amp; more. Modern Laravel 10-12 support with both ValidationRule objects &amp; string-based rules.

2917.3k](/packages/iamfarhad-validation)[p3ym4n/jdate

Date converter from Jalali to Georgian and vice versa. It has Carbon instance inside and it's Laravel friendly.

101.8k2](/packages/p3ym4n-jdate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
