Download the PHP package dickyermawan/yii2-hijridate without Composer
On this page you can find all versions of the php package dickyermawan/yii2-hijridate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-hijridate
Hijri Date - Tanggal Hijriyah Indonesia
Hijri Date - Tanggal Hijriyah Indonesia
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?php
use dickyermawan\hijridate\HijriDate;
$hd = new HijriDate(); // for today
echo $hd->get_date(); // 2 Dzul Qa'dah 1440H
echo $hd->get_date(true); //2 Dzul Qa'dah 1440 H
$hd = new HijriDate('2019-06-05'); //for custom date
echo $hd->get_date(); // 1 Syawwal 1440H
echo $hd->get_date(true); //1 Syawwal 1440 H
echo $hd->get_date(true, true); //01 Syawwal 1440 HAll versions of yii2-hijridate with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0.0
The package dickyermawan/yii2-hijridate contains the following files
Loading the files please wait ...