PHPackages                             chrislentz/laravel-api-sorting - 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. chrislentz/laravel-api-sorting

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

chrislentz/laravel-api-sorting
==============================

A sorting package that provides Eloquent 'orderBy' support via a '\_sort' URL parameter for the Laravel framework.

v1.0(9y ago)014MITPHPPHP &gt;=7.0

Since Apr 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/chrislentz/laravel-api-sorting)[ Packagist](https://packagist.org/packages/chrislentz/laravel-api-sorting)[ RSS](/packages/chrislentz-laravel-api-sorting/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/93cd3d0204fcd231d8be1227c11df5f6b620a0e2b7a9c42d23a73b3d9d7516d2/68747470733a2f2f706f7365722e707567782e6f72672f63687269736c656e747a2f6c61726176656c2d6170692d736f7274696e672f76657273696f6e)](https://packagist.org/packages/chrislentz/laravel-api-sorting)[![Latest Unstable Version](https://camo.githubusercontent.com/56d7f7442faaf281a7d2f8d175742c7a35f8f6d8db613f25b779b4d4696d70c9/68747470733a2f2f706f7365722e707567782e6f72672f63687269736c656e747a2f6c61726176656c2d6170692d736f7274696e672f762f756e737461626c65)](//packagist.org/packages/chrislentz/laravel-api-sorting)[![License](https://camo.githubusercontent.com/3dc5438f048e2dcd6295fe76c43dd4bd93e9dcfebe9e0e61413da72abce1a729/68747470733a2f2f706f7365722e707567782e6f72672f63687269736c656e747a2f6c61726176656c2d6170692d736f7274696e672f6c6963656e7365)](https://packagist.org/packages/chrislentz/laravel-api-sorting)

About
-----

[](#about)

This package provides sorting capabilities with API support via a `_sort` parameter for the Laravel framework.

License
-------

[](#license)

The contents of this repository is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3319d ago

### Community

Maintainers

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

---

Top Contributors

[![chrislentz](https://avatars.githubusercontent.com/u/428312?v=4)](https://github.com/chrislentz "chrislentz (2 commits)")

---

Tags

apieloquentlaravellaravel-5-packagesortsortingapilaraveleloquentsortsorting

### Embed Badge

![Health badge](/badges/chrislentz-laravel-api-sorting/health.svg)

```
[![Health](https://phpackages.com/badges/chrislentz-laravel-api-sorting/health.svg)](https://phpackages.com/packages/chrislentz-laravel-api-sorting)
```

###  Alternatives

[rutorika/sortable

Adds sortable behavior and ordering to Laravel Eloquent models. Grouping and many to many supported.

299992.5k14](/packages/rutorika-sortable)[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)[jedrzej/sortable

Sortable trait for Laravel's Eloquent models - sort your models using request parameters

54261.0k1](/packages/jedrzej-sortable)[indexzer0/eloquent-filtering

Powerful eloquent filtering

22425.9k3](/packages/indexzer0-eloquent-filtering)[jedrzej/searchable

Searchable trait for Laravel's Eloquent models - filter your models using request parameters

127259.1k4](/packages/jedrzej-searchable)[jedrzej/withable

Withable trait for Laravel's Eloquent models

25193.2k2](/packages/jedrzej-withable)

PHPackages © 2026

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