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)94MITPHPPHP ^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 today

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

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

1401d ago

Major Versions

v0.1.0 → v1.0.02022-03-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12392549?v=4)[Omid Alizadeh](/maintainers/omalizadeh)[@omalizadeh](https://github.com/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

3355.3M346](/packages/psalm-plugin-laravel)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M889](/packages/laravel-socialite)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5022.0k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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