{"id":22120537,"url":"https://github.com/islamic-network/alquran-api-client-php","last_synced_at":"2025-07-25T12:33:45.721Z","repository":{"id":38074716,"uuid":"58923502","full_name":"islamic-network/alquran-api-client-php","owner":"islamic-network","description":"A PHP API Client for the AlQuran.cloud REST API","archived":false,"fork":false,"pushed_at":"2023-04-22T08:26:43.000Z","size":693,"stargazers_count":10,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-07T04:46:43.982Z","etag":null,"topics":["quran","quran-api-client"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/islamic-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-16T10:19:11.000Z","updated_at":"2023-06-07T22:52:47.000Z","dependencies_parsed_at":"2022-08-21T07:50:46.364Z","dependency_job_id":null,"html_url":"https://github.com/islamic-network/alquran-api-client-php","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islamic-network%2Falquran-api-client-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islamic-network%2Falquran-api-client-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islamic-network%2Falquran-api-client-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/islamic-network%2Falquran-api-client-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/islamic-network","download_url":"https://codeload.github.com/islamic-network/alquran-api-client-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227576615,"owners_count":17788546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["quran","quran-api-client"],"created_at":"2024-12-01T14:27:22.235Z","updated_at":"2024-12-01T14:27:22.846Z","avatar_url":"https://github.com/islamic-network.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ\n\n[![CircleCI](https://circleci.com/gh/islamic-network/alquran-api-client-php.svg?style=shield)](https://circleci.com/gh/islamic-apps/alquran-api-client-php)\n[![](https://img.shields.io/github/release/islamic-network/alquran-api-client-php.svg)](https://github.com/islamic-network/alquran-api-client-php/releases)\n![](https://img.shields.io/packagist/dt/alquran/api-client.svg)\n[![](https://img.shields.io/github/license/islamic-network/alquran-api-client-php.svg)](https://github.com/islamic-network/alquran-api-client-php/blob/master/LICENSE)\n\n### AlQuran Cloud API Client (PHP)\nThis is a PHP API client that uses the rest API at alquran.cloud to fetch Quran Ayahs, Surahs Juzs or the entire Quran..\n\n\n### Installation\nThe API Client is a composer package. To use it, you need to run the following:\n```\ncomposer require alquran/api-client\n```\n\n### Usage\n\n#### Instantiate the Client\n```\n$t = new \\AlQuranCloud\\ApiClient\\Client();\n```\n\n#### Getting an Ayah\nTo get a single ayah, use:\n```\n$t-\u003eayah(765); // This will return Ayah 765\n$t-\u003eayah(765, 'en.pickthall'); // This will return Ayah 765 with Marmaduke Pickthall's English translation\n$t-\u003eayah('2:255'); // This will return Surah 2, Ayah 255 (which is Ayat Al Kursi)\n```\n\n#### Getting a Surah\nTo get a surah, use:\n```\n$t-\u003esurah(36); // This will return Surah Yaseen\n$t-\u003esurah(36, 'en.asad'); // This will return Surah Yaseen with Muhammad Asad's English translation\n```\n\n#### Getting a Juz\nTo get a juz, use:\n```\n$t-\u003ejuz(30); // This will return Juz 30 (there are only 30!)\n```\n\n#### Getting Editions, Searching and more...\nPlease see the complete documentation in docs/index.html (Clone the repo and open the file in a browser).\n\n### Authors and Contributors\nMeezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram (@meezaan).\n\n### Support or Contact\nFor support, please visit http://alquran.cloud/api or http://alquran.cloud/contact.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislamic-network%2Falquran-api-client-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fislamic-network%2Falquran-api-client-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fislamic-network%2Falquran-api-client-php/lists"}