php classes to view and manage Hijri Calendar.
the lib has two algorithms to calculte Hijri Date:
1-Hijri Tabular algorithm
2- Um Al-Qura algoritm
Two algorithms to calculte Hijri Date: Hijri Tabular algorithm, Um Al-Qura algorithm.
The lib allows you to adjust the Hijri Um Al-Qura algorithm and save the adjustment.
The lib has a full feature class to manage the adjustments of Um Al-Qura Calendar.
The Lib has a datetime class extends the real php datetime class, and allows you to return Hijri Calendar with the Gregorian Calendar in one format and one command.
The Hijri datetime class have all real php class Gregorian Calendar Functions plus main functions for Hijri Calendar.
The Lib returns the Hijri Calendar months in 20 international Languages.
The Um Al-Qura algorithm works from 1318 A.H to 1500 A.H. and Tabular Algorithm work from year 5499 before Hijra to 1,500,000 A.H, If Um Al-Qura algorithm selected and the date out of range the uses Tabular Algorithm instead.
The has full api documents.
The HijriDatLib requires at php version 5.3 at least. It is compatible up to php 8.1 .