PHPackages                             mahdinickdel/laravel-date-converter - 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. mahdinickdel/laravel-date-converter

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

mahdinickdel/laravel-date-converter
===================================

v0.1.2(1y ago)06MITPHP

Since Nov 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mahdinickdel/laravel-date-converter)[ Packagist](https://packagist.org/packages/mahdinickdel/laravel-date-converter)[ RSS](/packages/mahdinickdel-laravel-date-converter/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Date Converter
======================

[](#laravel-date-converter)

A Laravel package for date conversion between Jalali and Gregorian

Note
====

[](#note)

PHP Intl Extension must be installed on server

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

[](#installation)

```
composer require mahdinickdel/laravel-date-converter
```

Configuration
=============

[](#configuration)

If you want translations to be displayed in persian you must install composer package nesbot/carbon and set laravel locale to fa

Facade Usage
============

[](#facade-usage)

```
use use Mahdinickdel\LaravelDateConverter\Facades\DateConverter;

DateConverter::toJalali('2020-10-20', 'yyyy-MM-dd'); // "1399-07-29"
DateConverter::toGregorian('1378-12-10 10:20:30'); // "2000-02-29 06:50:30"
DateConverter::timeAgo('2022-04-17'); // 2 سال پیش
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

535d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mahdinickdel-laravel-date-converter/health.svg)

```
[![Health](https://phpackages.com/badges/mahdinickdel-laravel-date-converter/health.svg)](https://phpackages.com/packages/mahdinickdel-laravel-date-converter)
```

###  Alternatives

[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[intervention/zodiac

Zodiac Sign Calculator

58191.7k](/packages/intervention-zodiac)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)[solspace/craft-calendar

The most powerful event management and calendaring plugin!

1830.8k1](/packages/solspace-craft-calendar)

PHPackages © 2026

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