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 18% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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

587d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25706382?v=4)[Mahdi Nickdel](/maintainers/mahdinickdel)[@mahdinickdel](https://github.com/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

[illuminate/support

The Illuminate Support package.

630113.0M41.3k](/packages/illuminate-support)[spatie/holidays

Calculate public holidays

402860.1k2](/packages/spatie-holidays)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k18](/packages/solspace-craft-freeform)[pimcore/data-importer

Adds a comprehensive import functionality to Pimcore Datahub

46855.5k5](/packages/pimcore-data-importer)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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