PHP Classes

Salat: Calculate Muslim Prayer time based on location

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (12)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 73%Total: 2,530 This week: 1All time: 1,521 This week: 78Up
Version License PHP version Categories
salat 1.0GNU General Publi...5.0PHP 5, Time and Date, Geography


This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .

This class can be used to calculate the time of Muslim prayer time according to the geographic location.

It takes the date of the year and the geographic coordinates of a location and returns an array with the local time on which the each the obligatory prayers should occur: Fajr, Zuhr, Asr, Maghrib and Isha .

This is a class based on the original work written by Mohamad Magdy.

Innovation Award
PHP Programming Innovation award nominee
September 2007
Number 3

Prize: One book of choice by Packt
Prayer times are very important to followers of the Muslim religion.

Since different Muslim people can live in many different parts of the world, the prayer times may vary according to their location.

This class helps solving the problem by calculation the correct prayer times according to the geographic coordinates of the location of each Muslim believer.

Manuel Lemos
Picture of Khaled Al-Shamaa
  Performance   Level  
Name: Khaled Al-Shamaa <contact>
Classes: 22 packages by
Country: Egypt Egypt
Age: 48
All time rank: 481 in Egypt Egypt
Week rank: 77 Down3 in Egypt Egypt Down
Innovation award
Innovation award
Nominee: 10x

Winner: 4x

  Files folder image Files  
File Role Description
Files folder imageimages (3 files)
Files folder imagephp5 (1 file)
Accessible without login HTML file about.html Doc. Documentation
Accessible without login Plain text file ArabCapitals.txt Data Example data
Accessible without login Plain text file example.php Example Example script
Plain text file salat.class.php Class Class file
Accessible without login Plain text file style.css Data CSS

  Files folder image Files  /  images  
File Role Description
  Accessible without login Image file alpha.png Icon Image
  Accessible without login Image file shadow.gif Icon Image
  Accessible without login Image file thumb.jpg Icon Image

  Files folder image Files  /  php5  
File Role Description
  Plain text file salat.class.php Class Class file

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:1,521
This week:78Up
User Ratings User Comments (4)
 All time
The Class was great
12 years ago (adel)
Love it, thank you so much bro.
13 years ago (Abdulrhman Alkhodiry)
Well done! keep up the good work Brother.
16 years ago (Azaman)
downloads file has a faulty.
16 years ago (arab sheybani)