PHPackages                             mujibhalimi/pashto-calander-laravel - 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. mujibhalimi/pashto-calander-laravel

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

mujibhalimi/pashto-calander-laravel
===================================

Laravel Jalali datetime component known as Pashto

1(7y ago)219MITPHPPHP &gt;=5.4.0

Since Jan 9Pushed 7y agoCompare

[ Source](https://github.com/mujibhalimi/pashto-calander-laravel)[ Packagist](https://packagist.org/packages/mujibhalimi/pashto-calander-laravel)[ RSS](/packages/mujibhalimi-pashto-calander-laravel/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

pashto-calander-laravel component:
==================================

[](#pashto-calander-laravel-component)

This component based on PHP International (php-intl) extension. So this PHP extension must be installed on youe web server.

known as:

- Hijri Shami
- Jalali Date
- JDatetime
- هجری شمسی
- تقویم خورشیدی

### php-intl extension installation

[](#php-intl-extension-installation)

- On windows servers, open your php.ini (which should be in Program Files/PHP), and simply uncomment the extension.

```
extension=php_intl.dll

```

- Debian based Linux (Debian/Ubuntu/Mint/ ...)

```
sudo apt-get install php-intl

```

-Redhat based Linux (Redhat/Centos/ ...)

```
sudo yum -y install php-intl

```

Restart Webserver - done.

### Composer Installation

[](#composer-installation)

```
composer require mujibhalimi/pashto-calander-laravel
```

### Integration with Laravel 5.\*

[](#integration-with-laravel-5)

Add Pashto to app aliases in config/app.php file

```
// aliases
'Pashto' => mujibhalimi\Pashto\Facades\Pashto::class,
```

### Usage samples

[](#usage-samples)

[Supported format documentation](http://userguide.icu-project.org/formatparse/datetime)

```
// Jalali to Gregraian sample

echo Pashto::jTog('next week');
echo Pashto::jTog('now');
echo Pashto::jTog('1396-06-30 05:30:10');
echo Pashto::jTog ('۱۳۹۱/مرغومی/۱۲', 'yyyy/MM/dd H:m:s', 'ps', 'en', 'Asia/Kabul');

// Gregorian to Jalali samples
echo Pashto::gToj('2 days ago');
echo Pashto::gToj('2010-10-24 22:50:14');
echo Pashto::gToj('2014-09-21 07:12:54', 'EEEE yyyy/MMMM/dd H:m:s');

// moment samples
echo Pashto::moment(1494328806);
echo Pashto::moment(strtotime('3 hours ago'));
echo Pashto::moment(strtotime('2017-01-02 00:10:20'));
echo Pashto::momentEn(1494334506);

//in blader
{{ Pashto::gToj('2011-11-20 19:12:19') }}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Unknown

Total

1

Last Release

2681d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0912de78a8698d35b6f1e2d75c428cfd477584de80923359c3d9ea0f1d219140?d=identicon)[mujibhalimi](/maintainers/mujibhalimi)

---

Top Contributors

[![mujibhalimi](https://avatars.githubusercontent.com/u/46517293?v=4)](https://github.com/mujibhalimi "mujibhalimi (3 commits)")

---

Tags

laraveldatetimemomentJalalishamsihijrigregorianjdatetime

### Embed Badge

![Health badge](/badges/mujibhalimi-pashto-calander-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/mujibhalimi-pashto-calander-laravel/health.svg)](https://phpackages.com/packages/mujibhalimi-pashto-calander-laravel)
```

###  Alternatives

[hekmatinasser/verta

This Package helps developers to work with Jalali Datetime class for Laravel Framework PHP

657530.5k27](/packages/hekmatinasser-verta)[morilog/jalali

This Package helps developers to easily work with Jalali (Shamsi or Iranian) dates in PHP applications, based on Jalali (Shamsi) DateTime class.

9201.2M45](/packages/morilog-jalali)[fisharebest/ext-calendar

Implementation of the Arabic (Hijri), French, Gregorian, Jewish, Julian and Persian (Jalali) calendars. Also provides a replacement for the PHP ext/calendar extension.

36473.2k8](/packages/fisharebest-ext-calendar)[p3ym4n/jdate

Date converter from Jalali to Georgian and vice versa. It has Carbon instance inside and it's Laravel friendly.

101.8k2](/packages/p3ym4n-jdate)[symfony_persia/symfonyjdate

Jalali (Shamsi) DateTime for Symfony2, Supports year higher than 2038

1010.6k](/packages/symfony-persia-symfonyjdate)

PHPackages © 2026

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