PHPackages                             skorelabs/laravel-query-builder - 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. skorelabs/laravel-query-builder

Abandoned → [open-southeners/laravel-apiable](/?search=open-southeners%2Flaravel-apiable)ArchivedLibrary[Database &amp; ORM](/categories/database)

skorelabs/laravel-query-builder
===============================

Easily build Eloquent queries from API requests

5.6.0(2y ago)0138MITPHPPHP ^8.0

Since Jan 16Pushed 2y agoCompare

[ Source](https://github.com/skore/laravel-query-builder)[ Packagist](https://packagist.org/packages/skorelabs/laravel-query-builder)[ Docs](https://github.com/spatie/laravel-query-builder)[ Fund](https://spatie.be/open-source/support-us)[ RSS](/packages/skorelabs-laravel-query-builder/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (10)Versions (111)Used By (0)

Build Eloquent queries from API requests
========================================

[](#build-eloquent-queries-from-api-requests)

This package allows you to filter, sort and include eloquent relations based on a request. The `QueryBuilder` used in this package extends Laravel's default Eloquent builder. This means all your favorite methods and macros are still available. Query parameter names follow the [JSON API specification](http://jsonapi.org/) as closely as possible.

Notice
------

[](#notice)

**This package is abandoned, please use [open-southeners/laravel-apiable](https://github.com/open-southeners/laravel-apiable) instead.**

Important!
----------

[](#important)

This package is a fork of spatie/laravel-query-builder as it adds additional features that were removed and unmaintained.

We'll keep them updated ASAP if possible (or raise an issue instead, **but first do check the section in this readme first**).

Getting started
---------------

[](#getting-started)

```
composer require skorelabs/laravel-query-builder

```

[Check all documentation.](https://spatie.be/docs/laravel-query-builder)

Reporting issues
----------------

[](#reporting-issues)

**ONLY** report here the issues that refers to the following features:

- [Appending attributes](https://spatie.be/docs/laravel-query-builder/v4/features/appending-attributes)

**[Anything else do it here](https://github.com/spatie/laravel-query-builder/issues)**.

Credits
-------

[](#credits)

All the work is done solely by Spatie's Team ([@spatie](https://github.com/spatie)), we're just maintaining some of their legacy features in a way.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 52.4% 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

Every ~19 days

Recently: every ~55 days

Total

108

Last Release

950d ago

Major Versions

3.6.1 → 4.0.22021-12-26

3.6.2 → 5.0.02022-01-13

4.0.3 → 5.0.22022-04-25

3.6.3 → 4.0.42022-11-28

4.0.4 → 5.1.12022-12-02

PHP version history (6 changes)0.0.1PHP ^7.1

1.15.0PHP ^7.2

3.2.0PHP ^7.3

3.3.4PHP ^7.3|^8.0

1.18.0PHP ^7.1|^8.0

5.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a77db503aca4f77ebd99d5083432b8d9eee1131c2a572bb890aabd6b993f9d1?d=identicon)[d8vjork](/maintainers/d8vjork)

---

Top Contributors

[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (344 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (213 commits)")[![dominikb](https://avatars.githubusercontent.com/u/28777818?v=4)](https://github.com/dominikb "dominikb (14 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (8 commits)")[![d8vjork](https://avatars.githubusercontent.com/u/2331052?v=4)](https://github.com/d8vjork "d8vjork (7 commits)")[![cornelp](https://avatars.githubusercontent.com/u/10222052?v=4)](https://github.com/cornelp "cornelp (6 commits)")[![klimov-paul](https://avatars.githubusercontent.com/u/1482054?v=4)](https://github.com/klimov-paul "klimov-paul (5 commits)")[![brendt](https://avatars.githubusercontent.com/u/6905297?v=4)](https://github.com/brendt "brendt (5 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (4 commits)")[![drbyte](https://avatars.githubusercontent.com/u/404472?v=4)](https://github.com/drbyte "drbyte (4 commits)")[![ntzm](https://avatars.githubusercontent.com/u/3888578?v=4)](https://github.com/ntzm "ntzm (4 commits)")[![vyuldashev](https://avatars.githubusercontent.com/u/1809081?v=4)](https://github.com/vyuldashev "vyuldashev (4 commits)")[![marcoocram](https://avatars.githubusercontent.com/u/6926933?v=4)](https://github.com/marcoocram "marcoocram (3 commits)")[![oanhnn](https://avatars.githubusercontent.com/u/1757120?v=4)](https://github.com/oanhnn "oanhnn (3 commits)")[![rubenvanassche](https://avatars.githubusercontent.com/u/619804?v=4)](https://github.com/rubenvanassche "rubenvanassche (3 commits)")[![Medalink](https://avatars.githubusercontent.com/u/201221?v=4)](https://github.com/Medalink "Medalink (3 commits)")[![robsontenorio](https://avatars.githubusercontent.com/u/118955?v=4)](https://github.com/robsontenorio "robsontenorio (3 commits)")[![rainerkent](https://avatars.githubusercontent.com/u/17761544?v=4)](https://github.com/rainerkent "rainerkent (2 commits)")[![chapeupreto](https://avatars.githubusercontent.com/u/834048?v=4)](https://github.com/chapeupreto "chapeupreto (2 commits)")[![amaelftah](https://avatars.githubusercontent.com/u/17250137?v=4)](https://github.com/amaelftah "amaelftah (2 commits)")

---

Tags

spatielaravel-query-builder

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/skorelabs-laravel-query-builder/health.svg)

```
[![Health](https://phpackages.com/badges/skorelabs-laravel-query-builder/health.svg)](https://phpackages.com/packages/skorelabs-laravel-query-builder)
```

###  Alternatives

[spatie/laravel-query-builder

Easily build Eloquent queries from API requests

4.4k26.9M220](/packages/spatie-laravel-query-builder)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k37.7M472](/packages/spatie-laravel-medialibrary)[spatie/laravel-sluggable

Generate slugs when saving Eloquent models

1.6k11.5M223](/packages/spatie-laravel-sluggable)[spatie/laravel-translatable

A trait to make an Eloquent model hold translations

2.4k23.0M413](/packages/spatie-laravel-translatable)[spatie/laravel-db-snapshots

Quickly dump and load databases

1.2k2.8M20](/packages/spatie-laravel-db-snapshots)

PHPackages © 2026

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