PHPackages                             joskolenberg/laravel-jory - 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. [API Development](/categories/api)
4. /
5. joskolenberg/laravel-jory

ActiveLibrary[API Development](/categories/api)

joskolenberg/laravel-jory
=========================

Create a flexible API for your Laravel application using json based queries.

v3.3.0(1y ago)4513.5k↓46.9%2[1 issues](https://github.com/joskolenberg/laravel-jory/issues)MITPHPCI passing

Since Oct 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/joskolenberg/laravel-jory)[ Packagist](https://packagist.org/packages/joskolenberg/laravel-jory)[ RSS](/packages/joskolenberg-laravel-jory/feed)WikiDiscussions v3.x Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (49)Used By (0)

[![Run Tests](https://github.com/joskolenberg/laravel-jory/workflows/Run%20Tests/badge.svg)](https://github.com/joskolenberg/laravel-jory/workflows/Run%20Tests/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/ba181162ffbf93693648fb7d2c5433c183a39c0b0f1f1336debdc26b69510ed1/68747470733a2f2f706f7365722e707567782e6f72672f6a6f736b6f6c656e626572672f6c61726176656c2d6a6f72792f646f776e6c6f616473)](https://packagist.org/packages/joskolenberg/laravel-jory)[![Latest Stable Version](https://camo.githubusercontent.com/a5bff8c6985dc5d080045a85627742aa94606fc9c4dcdec093eb2cbbfba65bf7/68747470733a2f2f706f7365722e707567782e6f72672f6a6f736b6f6c656e626572672f6c61726176656c2d6a6f72792f762f737461626c65)](https://packagist.org/packages/joskolenberg/laravel-jory)[![License](https://camo.githubusercontent.com/c0f9a50f90c4246cbe5a621b80d3d9b0c7a76278bb6a187db5be194bc069c46e/68747470733a2f2f706f7365722e707567782e6f72672f6a6f736b6f6c656e626572672f6c61726176656c2d6a6f72792f6c6963656e7365)](https://packagist.org/packages/joskolenberg/laravel-jory)

Laravel-Jory: Flexible Eloquent API Resources
=============================================

[](#laravel-jory-flexible-eloquent-api-resources)

[Complete documentation](https://laravel-jory.kolenberg.net/docs)

Concept Overview
----------------

[](#concept-overview)

Laravel Jory creates a dynamic API for your Laravel application to serve the data from your Eloquent models. JoryResources are comparable to Laravel's built-in Resource classes but you only write (or [generate](https://laravel-jory.kolenberg.net/docs/3.0/generator)) a JoryResource once for each model. Next, your data can be queried in a flexible way by passing a [Jory Query](https://laravel-jory.kolenberg.net/docs/3.0/fetching_introduction) to the [Jory Endpoints](https://laravel-jory.kolenberg.net/docs/3.0/endpoints).

Jory is designed to be simple enough to master within minutes but flexible enough to fit 95% of your data-fetching use-cases. It brings Eloquent Query Builder's most-used features directly to your frontend.

Supported Functions
-------------------

[](#supported-functions)

### Querying

[](#querying)

- [Selecting fields](https://laravel-jory.kolenberg.net/docs/3.0/query_fields) (database fields &amp; custom attributes)
- [Filtering](https://laravel-jory.kolenberg.net/docs/3.0/query_filters) (including nested `and` and `or` clauses and custom filters)
- [Sorting](https://laravel-jory.kolenberg.net/docs/3.0/query_sorts) (including custom sorts)
- [Relations](https://laravel-jory.kolenberg.net/docs/3.0/query_relations)
- [Offset &amp; Limit](https://laravel-jory.kolenberg.net/docs/3.0/query_offset_and_limit)

### Endpoints

[](#endpoints)

- Fetch a [single record](https://laravel-jory.kolenberg.net/docs/3.0/endpoints#first) (like Laravel's `first()`)
- Fetch a [single record by id](https://laravel-jory.kolenberg.net/docs/3.0/endpoints#find) (like Laravel's `find()`)
- Fetch [multiple records](https://laravel-jory.kolenberg.net/docs/3.0/endpoints#get) (like Laravel's `get()`)
- Fetch [multiple resources at once](https://laravel-jory.kolenberg.net/docs/3.0/endpoints#multiple)

### Aggregates

[](#aggregates)

- [Count](https://laravel-jory.kolenberg.net/docs/3.0/endpoints#aggregates)
- [Exists](https://laravel-jory.kolenberg.net/docs/3.0/endpoints#aggregates)

### Metadata

[](#metadata)

- [Total records](https://laravel-jory.kolenberg.net/docs/3.0/metadata#total) (for pagination)
- [Query count](https://laravel-jory.kolenberg.net/docs/3.0/metadata#query-count)

For more information take a look at the [docs](https://laravel-jory.kolenberg.net/docs).

Happy coding!

Jos Kolenberg

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance47

Moderate activity, may be stable

Popularity36

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~52 days

Recently: every ~162 days

Total

46

Last Release

398d ago

Major Versions

v2.0.1 → v3.0.02020-03-05

v2.0.2 → v3.0.12020-03-17

v2.0.3 → v3.0.22020-04-08

v2.x-dev → v3.1.02020-09-09

v3.1.0 → v4.x-dev2020-10-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/c9663e81340dcce520845c908f741986ab8e1b24c3a519cfec45677dbabe9a57?d=identicon)[joskolenberg](/maintainers/joskolenberg)

---

Top Contributors

[![joskolenberg](https://avatars.githubusercontent.com/u/26161164?v=4)](https://github.com/joskolenberg "joskolenberg (12 commits)")[![Mosmania](https://avatars.githubusercontent.com/u/46068567?v=4)](https://github.com/Mosmania "Mosmania (2 commits)")

---

Tags

jsonapilaravelmodelqueryfiltersortresourcerelationjory

### Embed Badge

![Health badge](/badges/joskolenberg-laravel-jory/health.svg)

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

###  Alternatives

[aimeos/aimeos-laravel

Cloud native, API first Laravel eCommerce package with integrated AI for ultra-fast online shops, marketplaces and complex B2B projects

8.6k214.7k3](/packages/aimeos-aimeos-laravel)[cloudcreativity/laravel-json-api

JSON API (jsonapi.org) support for Laravel applications.

7881.1M5](/packages/cloudcreativity-laravel-json-api)[jedrzej/pimpable

Laravel 4/5/6 package that allows to dynamically filter, sort and eager load relations for your models using request parameters

105179.0k1](/packages/jedrzej-pimpable)[omalizadeh/laravel-query-filter

A laravel package for resource filtering via request query string

163.0k](/packages/omalizadeh-laravel-query-filter)

PHPackages © 2026

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