PHP Classes

PHP Hijri: Format the date and time in the Hirji calendar

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 31 All time: 11,046 This week: 660Up
Version License PHP version Categories
php-hijri 1.0MIT/X Consortium ...5Localization, PHP 5, Time and Date


This package can format the date and time in the Hirji (Islamic) calendar.

It can take as a parameter the date and time of today or another day.

The package can format the date and time and return a string with its representation in the Hijri format.

It can set the current locale so that the string can return the formatted date and time in another language besides English.

Picture of Moamen Eltouny
  Performance   Level  
Name: Moamen Eltouny <contact>
Classes: 37 packages by
Country: Egypt Egypt
Age: 31
All time rank: 258526 in Egypt Egypt
Week rank: 225 Up1 in Egypt Egypt Up
Innovation award
Innovation award
Nominee: 21x


<p align="center"><a href="" target="_blank"><img src=""></a></p>

<p align="center"> <a href="" target="_blank"><img src=">=7.2-blue" alt="PHP Version : >= 7.2"></a> <img src="" alt="Source"> <br> <a href="" target="_blank"><img src="" alt="Source"></a> <a href="" target="_blank"><img src="" alt="Packagist Version"></a> <img src="" alt="Packagist Downloads"> </p>

<h3 align="center">Hijri DateTime (Islamic).</h3> <h5 align="center">Depends on <a href="" target="_blank">Carbon</a>.</h5> <br>


You can find the detailed documentation here in PHP Hijri Documentation.


Thank you for considering contributing to this package! Be one of Pharaonic team.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Patreon page.


This package is an open-sourced software licensed under the MIT license.

  Files folder image Files  
File Role Description
Files folder image.github (1 file)
Files folder imagesrc (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
  Accessible without login Plain text file FUNDING.yml Data Auxiliary data

  Files folder image Files  /  src  
File Role Description
  Plain text file Hijri.php Class Class source
  Plain text file HijriCarbon.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:11,046
This week:660Up