PHPackages                             hatamiarash7/jdf - 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. hatamiarash7/jdf

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

hatamiarash7/jdf
================

JDF Library for Laravel

2.0.2(6y ago)22752[1 issues](https://github.com/hatamiarash7/Laravel-JDF/issues)[4 PRs](https://github.com/hatamiarash7/Laravel-JDF/pulls)GPL-3.0PHPPHP ^7.0CI failing

Since Dec 16Pushed 1w ago1 watchersCompare

[ Source](https://github.com/hatamiarash7/Laravel-JDF)[ Packagist](https://packagist.org/packages/hatamiarash7/jdf)[ Fund](https://idpay.ir/hatamiarash7)[ Fund](https://yekpay.me/hatamiarash7)[ RSS](/packages/hatamiarash7-jdf/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (3)Versions (21)Used By (0)

Laravel-JDF
===========

[](#laravel-jdf)

[![Latest Stable Version](https://camo.githubusercontent.com/3880c93315a125b6ac9aeacc87d5daf07c4c1184882605112d0d484928b5bc40/68747470733a2f2f706f7365722e707567782e6f72672f686174616d696172617368372f6a64662f762f737461626c65)](https://packagist.org/packages/hatamiarash7/jdf) [![Total Downloads](https://camo.githubusercontent.com/a710a1c768d44ddf0f6eab2ea18cb1c9353aaced190015aefa5a34a454a98cab/68747470733a2f2f706f7365722e707567782e6f72672f686174616d696172617368372f6a64662f646f776e6c6f616473)](https://packagist.org/packages/hatamiarash7/jdf) [![License](https://camo.githubusercontent.com/7fde145e009411d89ea7258790c4c59c29a3dd6224e24c4b55b6df2682046c4c/68747470733a2f2f706f7365722e707567782e6f72672f686174616d696172617368372f6a64662f6c6963656e7365)](https://packagist.org/packages/hatamiarash7/jdf)[![FOSSA Status](https://camo.githubusercontent.com/7026fed19c674b320f5b2cbcdab887eae181d649fc19bbffe122037ed078c233/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246686174616d696172617368372532464c61726176656c2d4a44462e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhatamiarash7%2FLaravel-JDF?ref=badge_shield)

It's a simple library to use Persian timestamps in Laravel ( 5.5+ )

### Install

[](#install)

`composer require hatamiarash7/jdf`

Laravel 5.5+ has auto-discover ability and you don't need add anything to project's configuration

### How to use

[](#how-to-use)

```
use Hatamiarash7\JDF\Generator;

...

$jdf = new Generator();
$date = $jdf->getTimestamp(); // Output : ۱۳۹۷/۱۱/۰۲ - ۰۰:۳۸

$finalDate = $jdf->jdate_words(['ss'=>1390, 'mm'=>5, 'rr'=>20]);
// Output : [
		'ss' => 'هزار و سیصد و نود' ,
		'mm' => 'مرداد' ,
		'rr' => 'بیست'
	    ]
```

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/33c5b6797174ef016a91044226d00611b780c029fdb26aba48db0ad3354774f6/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246686174616d696172617368372532464c61726176656c2d4a44462e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhatamiarash7%2FLaravel-JDF?ref=badge_large)

---

Support
-------

[](#support)

[![ko-fi](https://camo.githubusercontent.com/1fedf764fa06114b797ee53e7506df10880abed6766f854202d758df1707969d/68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f676974687562627574746f6e5f736d2e737667)](https://ko-fi.com/D1D1WGU9)

[![](https://camo.githubusercontent.com/9280696c034dbb20cb95fb3b21233917cd91fa781317f68917af6cd8e15d233e/68747470733a2f2f63646e2e70617970696e672e69722f737461746963732f50617970696e672d6c6f676f2f54727573742f626c75652e737667)](https://payping.ir/@hatamiarash7)

Contributing
------------

[](#contributing)

1. Fork it !
2. Create your feature branch : `git checkout -b my-new-feature`
3. Commit your changes : `git commit -am 'Add some feature'`
4. Push to the branch : `git push origin my-new-feature`
5. Submit a pull request :D

Issues
------

[](#issues)

Each project may have many problems. Contributing to the better development of this project by reporting them.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance54

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 90.5% 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 ~42 days

Recently: every ~74 days

Total

13

Last Release

2250d ago

Major Versions

1.9 → 2.0.02020-05-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16325641?v=4)[Arash Hatami](/maintainers/hatamiarash7)[@hatamiarash7](https://github.com/hatamiarash7)

---

Top Contributors

[![hatamiarash7](https://avatars.githubusercontent.com/u/16325641?v=4)](https://github.com/hatamiarash7 "hatamiarash7 (38 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

---

Tags

composerdatedate-timedatesdatetimefarsijdflaravelpersianphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hatamiarash7-jdf/health.svg)

```
[![Health](https://phpackages.com/badges/hatamiarash7-jdf/health.svg)](https://phpackages.com/packages/hatamiarash7-jdf)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M268](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M996](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M363](/packages/illuminate-redis)[illuminate/process

The Illuminate Process package.

44869.2k97](/packages/illuminate-process)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)

PHPackages © 2026

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