buchin / adzan
Compute prayer times given latitude, longitude, timezone
dev-master
2016-12-04 06:21 UTC
Requires (Dev)
- kahlan/kahlan: ^3.0
This package is auto-updated.
Last update: 2024-11-15 19:57:41 UTC
README
Compute prayer times given latitude, longitude, timezone
Installation
composer require buchin/adzan
Usage
use Buchin\Adzan\Adzan; $adzan = new Adzan; $adzan->setLatitude(6, 10); $adzan->setLongitude(106, 49); $adzan->setTimeZone(7); // ['imsyak' => 'xx:xx', 'subuh' => 'xx:xx'... $prayerTimes = $adzan->times(time());