2017 © Pedro Pelรกez
 

library api-client

AlQuran.cloud REST API Client

image

alquran/api-client

AlQuran.cloud REST API Client

  • Monday, October 9, 2017
  • by meezaan
  • Repository
  • 2 Watchers
  • 4 Stars
  • 41 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ุจูุณู’ู…ู ุงู„ู„ู‡ู ุงู„ุฑูŽู‘ุญู’ู…ูฐู†ู ุงู„ุฑูŽู‘ุญููŠู’ู…ู

CircleCI , (*1)

AlQuran Cloud API Client (PHP)

This is a PHP API client that uses the rest API at alquran.cloud to fetch Quran Ayahs, Surahs Juzs or the entire Quran.., (*2)

Installation

The API Client is a composer package. To use it, you need to run the following:, (*3)

composer require alquran/api-client

Usage

Instantiate the Client

$t = new \AlQuranCloud\ApiClient\Client();

Getting an Ayah

To get a single ayah, use:, (*4)

$t->ayah(765); // This will return Ayah 765
$t->ayah(765, 'en.pickthall'); // This will return Ayah 765 with Marmaduke Pickthall's English translation
$t->ayah('2:255'); // This will return Surah 2, Ayah 255 (which is Ayat Al Kursi)

Getting a Surah

To get a surah, use:, (*5)

$t->surah(36); // This will return Surah Yaseen
$t->surah(36, 'en.asad'); // This will return Surah Yaseen with Muhammad Asad's English translation

Getting a Juz

To get a juz, use:, (*6)

$t->juz(30); // This will return Juz 30 (there are only 30!)

Getting Editions, Searching and more...

Please see the complete documentation in docs/index.html (Clone the repo and open the file in a browser)., (*7)

Authors and Contributors

Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram (@meezaan)., (*8)

Support or Contact

For support, please visit http://alquran.cloud/api or http://alquran.cloud/contact., (*9)

The Versions

09/10 2017

dev-master

9999999-dev

AlQuran.cloud REST API Client

  Sources   Download

The Requires

 

The Development Requires

by Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram

05/05 2017

v1.0

1.0.0.0

AlQuran.cloud REST API Client

  Sources   Download

The Requires

 

The Development Requires

by Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram