PHPackages                             omalizadeh/laravel-jalali-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. omalizadeh/laravel-jalali-calendar

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

omalizadeh/laravel-jalali-calendar
==================================

A laravel package to get jalali events from time.ir

v1.0.1(3y ago)92MITPHPPHP ^7.4|^8.0

Since Feb 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/omalizadeh/laravel-jalali-calendar)[ Packagist](https://packagist.org/packages/omalizadeh/laravel-jalali-calendar)[ Docs](https://github.com/omalizadeh/laravel-jalali-calendar)[ RSS](/packages/omalizadeh-laravel-jalali-calendar/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

[![License](https://camo.githubusercontent.com/9d0df3f3da7403414bcfa8ef26e959b2ad19d44f6b68ca65e471c1300065f860/687474703a2f2f706f7365722e707567782e6f72672f6f6d616c697a616465682f6c61726176656c2d6a616c616c692d63616c656e6461722f6c6963656e7365)](https://packagist.org/packages/omalizadeh/laravel-jalali-calendar)[![Tests](https://github.com/omalizadeh/laravel-jalali-calendar/actions/workflows/tests.yml/badge.svg)](https://github.com/omalizadeh/laravel-jalali-calendar/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/9d010196c477c33194c475259a80a44e3467ab54c083145567922c7b783dad40/687474703a2f2f706f7365722e707567782e6f72672f6f6d616c697a616465682f6c61726176656c2d6a616c616c692d63616c656e6461722f76)](https://packagist.org/packages/omalizadeh/laravel-jalali-calendar)[![Total Downloads](https://camo.githubusercontent.com/b4d3498202efbd06091ca3c687715638d946691c70f4a3287a32578e93cfe3de/687474703a2f2f706f7365722e707567782e6f72672f6f6d616c697a616465682f6c61726176656c2d6a616c616c692d63616c656e6461722f646f776e6c6f616473)](https://packagist.org/packages/omalizadeh/laravel-jalali-calendar)

Laravel Jalali Calendar
=======================

[](#laravel-jalali-calendar)

This is a laravel package to get jalali date events and holidays by parsing time.ir website.

> ⭐ Star! if you used &amp; liked this package.

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

[](#installation)

Install package with composer:

```
composer require omalizadeh/laravel-jalali-calendar
```

Usage
-----

[](#usage)

Get a `JalaliDate` object by calling `fromGregorian` static method on `JalaliCalendar` class. example:

```
    use Omalizadeh\JalaliCalendar\JalaliCalendar;

    $jalaliDate = JalaliCalendar::fromGregorian('2020-05-24');
```

Or you can get a collection of `JalaliDate` objects by giving a gregorian period.

```
    use Omalizadeh\JalaliCalendar\JalaliCalendar;

    $jalaliDates = JalaliCalendar::fromGregorianPeriod('2020-05-24', '2020-05-28');
```

Then you can get different info from `JalaliDate` object. supported methods:

MethodsReturn typeDescriptionformat()stringJalali date with given formatisHoliday()boolCheck jalali date is holidayevents()arrayGet date's eventsLicense
-------

[](#license)

- Laravel Jalali Calendar is open-sourced software licensed under the [MIT license](LICENSE).
- This package is created based on [Persiancalapi](https://github.com/hpez/persiancalapi) project.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~100 days

Total

3

Last Release

1347d ago

Major Versions

v0.1.0 → v1.0.02022-03-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/adc5106f76d68551993dfa7eeaf7b5257bc07f8137c0a2ae4cf5d424be61d581?d=identicon)[omalizadeh](/maintainers/omalizadeh)

---

Top Contributors

[![omalizadeh](https://avatars.githubusercontent.com/u/12392549?v=4)](https://github.com/omalizadeh "omalizadeh (9 commits)")

---

Tags

phpeventlaravelcalendarholidayJalalipersianshamsifarsi

### Embed Badge

![Health badge](/badges/omalizadeh-laravel-jalali-calendar/health.svg)

```
[![Health](https://phpackages.com/badges/omalizadeh-laravel-jalali-calendar/health.svg)](https://phpackages.com/packages/omalizadeh-laravel-jalali-calendar)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[ankurk91/laravel-ses-webhooks

Handle AWS SES webhooks in Laravel php framework

2534.2k](/packages/ankurk91-laravel-ses-webhooks)

PHPackages © 2026

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