PHPackages                             hpez/persian-cal-event - 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. hpez/persian-cal-event

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

hpez/persian-cal-event
======================

Persian (Jalali) calendar events package

81.2k1PHP

Since Aug 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/hpez/persian-cal-events)[ Packagist](https://packagist.org/packages/hpez/persian-cal-event)[ RSS](/packages/hpez-persian-cal-event/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Persian Calendar Events [![codecov](https://camo.githubusercontent.com/0696808ab3a686faf2c961e33fe1778ac2e680c9e3a8ce7e15adccf4ad83fe5f/68747470733a2f2f636f6465636f762e696f2f67682f6870657a2f7065727369616e2d63616c2d6576656e74732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/hpez/persian-cal-events) [![Build Status](https://camo.githubusercontent.com/37abaa06315b0be557611f3056459984e7e86e4e23a8ec40b13fa81a0139f3ad/68747470733a2f2f7472617669732d63692e6f72672f6870657a2f7065727369616e2d63616c2d6576656e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hpez/persian-cal-events)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#persian-calendar-events--)

This package aims to provide events for Persian calendar (jalali) crawling time.ir and using [morilog/jalali](https://github.com/morilog/jalali) for conversion.

Features
--------

[](#features)

- Indicates holidays
- Events in that day
- Supports both jalali and gregorian
- Indicates if an event is due to religious reasons

Installation
------------

[](#installation)

```
composer require hpez/persian-cal-event

```

Usage
-----

[](#usage)

```
PersianCalEvent::jalali(1398, 1, 1);
/*
{
    "is_holiday": true,
    "events": [
        {
            "description": "جشن نوروز/جشن سال نو",
            "additional_description": "",
            "is_religious": false
        }
    ]
}
*/

PersianCalEvent::gregorian(2019, 8, 12);
PersianCalEvent::gregorian(new Carbon('2019-08-12'));
/*
{
    "is_holiday": true,
    "events": [
        {
            "description": "عید سعید قربان",
            "additional_description": "١٠ ذوالحجه",
            "is_religious": true
        }
    ]
}
*/

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23010096?v=4)[Hassan Pezeshk](/maintainers/hpez)[@hpez](https://github.com/hpez)

---

Top Contributors

[![hpez](https://avatars.githubusercontent.com/u/23010096?v=4)](https://github.com/hpez "hpez (24 commits)")

---

Tags

calendarholiday-calculationholidaysjalalijalali-calendarphp

### Embed Badge

![Health badge](/badges/hpez-persian-cal-event/health.svg)

```
[![Health](https://phpackages.com/badges/hpez-persian-cal-event/health.svg)](https://phpackages.com/packages/hpez-persian-cal-event)
```

###  Alternatives

[underwear/laravel-vue-good-table

Vue-good-table wrapper for Laravel. Server side tables without pain.

4016.7k](/packages/underwear-laravel-vue-good-table)[wildbit/craft3-donottrack

Craft 3 plugin for respecting Do Not Track headers sent by browsers.

144.3k](/packages/wildbit-craft3-donottrack)

PHPackages © 2026

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