borsaco/jalali-date-time
Convert dates between Gregorian and Jalali (Shamsi/Hijri Shamsi) calendars in PHP. Simple standalone class or Composer package, with support for dates beyond the 2038 limit.
PHP class to convert dates from Gregorian calendar system to Jalali calendar system and vice versa. Supports dates beyond 2038.
Jalali, also known as Shamsi or Hijri Shamsi is the Iranian calendar system.
You can install this package using composer.
composer require borsaco/jalali-date-time
Get a copy of package source code. You can do this in two ways:
git clone https://github.com/borsaco/JalaliDateTime.git to clone this repositoryAfter getting a copy of source code, it is enough to include jdatetime.class.php where you need to use it.
require_once 'path/to/source/jdatetime.class.php';
How can I help you explore Laravel packages today?