jakim/esolat

There is no license information available for the latest version (1.0) of this package.

E-Solat JAKIM Library Wrapper

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 9

Watchers: 3

Forks: 3

Open Issues: 1

pkg:composer/jakim/esolat

1.0 2015-01-27 14:54 UTC

This package is not auto-updated.

Last update: 2025-10-12 01:18:51 UTC


README

Install

composer require jakim/esolat

Usage

use Jakim\Solat\Zon;
use Jakim\Solat\Waktu;

$zones = Zon::getAllZone(); // return array

$zon = new Zon('sgr01');
echo $zon->getDescription(); // Gombak,H.Selangor,Rawang, H.Langat,Sepang,Petaling,  S.Alam
echo $zon->getNegeri(); // SELANGOR

$waktu = new Waktu($zon);

// get today waktu
$waktu->getToday(); // return array

// get weekly waktu
$waktu->getWeekly(); // return array

// get current month waktu
$waktu->getMonthly(); // return array

// get monthly waktu on October 2013
$waktu->getMonthly(10, 2013); // return array

Todo

  • Add more tests