PHPackages                             jangal/dilami-calendar - 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. jangal/dilami-calendar

ActiveLibrary

jangal/dilami-calendar
======================

Dilami calendar for PHP

21PHP

Since Apr 11Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Jangal/php-dilami-calendar)[ Packagist](https://packagist.org/packages/jangal/dilami-calendar)[ RSS](/packages/jangal-dilami-calendar/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Dilami Calendar
===================

[](#php-dilami-calendar)

Dilami calendar for PHP

Install
-------

[](#install)

```
composer require jangal/dilami-calendar

```

Usage
-----

[](#usage)

```
use Jangal\DilamiCalendar;

echo implode('/', DilamiCalendar::dilamiToJalali(1592, 12, 15));
// output: '1398/5/1'

echo implode('/', DilamiCalendar::jalaliToDilami(1398, 5, 1));
// output: '1592/12/15'

```

Development
-----------

[](#development)

on Ubuntu 20.04:

```
sudo apt install php7.4-xml php7.4-mbstring
git clone git@github.com:jangal/php-dilami-calendar.git
cd php-dilami-calendar
composer install
./vendor/bin/phpunit tests

```

Some Famous Websites That Use This Library
------------------------------------------

[](#some-famous-websites-that-use-this-library)

[تقویم دیلمی](http://giltime.ir)
[گيلکي ديکشنري](http://gdic.ir)

Maybe You Like
--------------

[](#maybe-you-like)

[Python Dilami Calendar](https://github.com/Jangal/python-dilami-calendar)
[C++ Dilami Calendar](https://github.com/LordArma/Dilami-Calendar-C-)
[Arduino Dilami Calendar](https://github.com/LordArma/Dilami-Calendar-Arduino)
[.Net Dilami Calendar](https://github.com/Jangal/Dilami-Calendar-.Net)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12189744?v=4)[Jangal](/maintainers/jangal)[@Jangal](https://github.com/Jangal)

---

Top Contributors

[![LordArma](https://avatars.githubusercontent.com/u/6020960?v=4)](https://github.com/LordArma "LordArma (2 commits)")[![meyt](https://avatars.githubusercontent.com/u/10482278?v=4)](https://github.com/meyt "meyt (2 commits)")

---

Tags

calendarcaspiandatedilamigilakgilaki

### Embed Badge

![Health badge](/badges/jangal-dilami-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/jangal-dilami-calendar/health.svg)](https://phpackages.com/packages/jangal-dilami-calendar)
```

PHPackages © 2026

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