PHPackages                             wearedevtical/laravel-quran - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. wearedevtical/laravel-quran

ActiveLibrary[Database &amp; ORM](/categories/database)

wearedevtical/laravel-quran
===========================

Laravel Quran static Eloquent model

v1.0.0(4y ago)2310111[4 issues](https://github.com/devtical/laravel-quran/issues)mitPHP

Since Jul 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/devtical/laravel-quran)[ Packagist](https://packagist.org/packages/wearedevtical/laravel-quran)[ Docs](https://github.com/wearedevtical/laravel-quran)[ RSS](/packages/wearedevtical-laravel-quran/feed)WikiDiscussions develop Synced 2d ago

READMEChangelog (1)Dependencies (6)Versions (4)Used By (0)

Laravel Quran
=============

[](#laravel-quran)

بِسْمِ ٱللّٰهِ الرَّحْمٰنِ الرَّحِيْمِ

Laravel Quran is static Eloquent model for Quran.

The Quran has never changed and never will, because Allah protecting it. `(15:9) إِنَّا نَحۡنُ نَزَّلۡنَا ٱلذِّكۡرَ وَإِنَّا لَهُۥ لَحَـٰفِظُونَ`. All data is fetched from the [API](https://alquran.cloud/api). Changes only occur in translation and transliteration.

Installation
------------

[](#installation)

Via Composer

```
$ composer require wearedevtical/laravel-quran
```

Usage
-----

[](#usage)

Find surah by ID

```
$surah = Surah::find(36);
```

```
[
  "id" => 36
  "title" => "سُورَةُ يسٓ"
  "transliteration" => "Yaseen"
]
```

Get all ayah(s) from surah

```
$surah->ayahs;
```

```
[
  0 => array:7 [
    "id" => 3706
    "surah_id" => "36"
    "content" => "بِسْمِ ٱللَّهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ يسٓ"
    "translate_en" => "O THOU human being!"
    "translate_id" => "Yaa siin"
    "number" => "1"
    "juz" => "22"
  ]
  1 => array:7 [
    "id" => 3707
    "surah_id" => "36"
    "content" => "وَٱلْقُرْءَانِ ٱلْحَكِيمِ"
    "translate_en" => "Consider this Qur’an full of wisdom:"
    "translate_id" => "Demi Al Quran yang penuh hikmah,"
    "number" => "2"
    "juz" => "22"
  ]
  ...
]
```

Find ayah by ID

```
$ayah  = Ayah::find(3787);
```

```
[
  "id" => 3787
  "surah_id" => "36"
  "content" => "إِنَّمَآ أَمْرُهُۥٓ إِذَآ أَرَادَ شَيْـًٔا أَن يَقُولَ لَهُۥ كُن فَيَكُونُ"
  "translate_en" => "His Being alone is such that when He wills a thing to be, He but says unto it, “Be” — and it is."
  "translate_id" => "Sesungguhnya keadaan-Nya apabila Dia menghendaki sesuatu hanyalah berkata kepadanya: "Jadilah!" maka terjadilah ia."
  "number" => "82"
  "juz" => "23"
]
```

Change log
----------

[](#change-log)

Please see the [changelog](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email author instead of using the issue tracker.

Credits
-------

[](#credits)

- [Wahyu Kristianto](https://github.com/kristories)
- [Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram](https://github.com/meezaan)
- [Islamic Network](https://islamic.network)
- [Tanzil](https://tanzil.net)
- [All Contributors](https://github.com/wearedevtical/laravel-quran/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see the [license file](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6aec55704f55f6828d892ca89d2bb8d830422a35f210a786ab6903a668caf3b5?d=identicon)[Kristories](/maintainers/Kristories)

![](https://www.gravatar.com/avatar/88cd15a685f74322d8773754312580769393b0d9523967fe62aea27d065978c0?d=identicon)[ezhasyafaat](/maintainers/ezhasyafaat)

---

Top Contributors

[![Kristories](https://avatars.githubusercontent.com/u/774338?v=4)](https://github.com/Kristories "Kristories (24 commits)")

---

Tags

alquranislamlaravellaravel-packagemuslimquranlaraveleloquentislammuslimquranal-quran

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wearedevtical-laravel-quran/health.svg)

```
[![Health](https://phpackages.com/badges/wearedevtical-laravel-quran/health.svg)](https://phpackages.com/packages/wearedevtical-laravel-quran)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
