PHPackages                             feldoe/laravel-resource-index - 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. feldoe/laravel-resource-index

ActiveLibrary[API Development](/categories/api)

feldoe/laravel-resource-index
=============================

Simple service to build api response for resource index

v1.9.1(2mo ago)01.5k↓93.3%MITPHPPHP ^8.1CI passing

Since Dec 21Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sem-feldoe/laravel-resource-index)[ Packagist](https://packagist.org/packages/feldoe/laravel-resource-index)[ Docs](https://github.com/sem-feldoe/laravel-resource-index)[ RSS](/packages/feldoe-laravel-resource-index/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (18)Versions (41)Used By (0)

Simple service to build api response for resource index
=======================================================

[](#simple-service-to-build-api-response-for-resource-index)

About laravel resource index
----------------------------

[](#about-laravel-resource-index)

Example

```
use Atx\ResourceIndex\Contracts\ResourceIndex;
use Illuminate\Routing\Controller;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class Index extends Controller
{
    public function __invoke(Request $request, ResourceIndex $service): JsonResponse
    {
        return $service->from(MyModel::class, MyModelResource::class)
            ->processRequest(
                $request,
                // Filterable
                [
                    'filterable_column',
                ],
                // Searchable
                [
                    'searchable_column',
                ],
                // Sortable
                [
                    'sortable_column',
                ]
            )
            ->response();
    }
}
```

Front usage example

```
fetch('http://localhost/api/v1/endpoint?filter[filter1][]=test&filter[filter2]=true&sort=-created_at&search=test')
```

License
-------

[](#license)

Laravel resource index is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

Every ~31 days

Recently: every ~10 days

Total

40

Last Release

81d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62690891?v=4)[sem-feldoe](/maintainers/sem-feldoe)[@sem-feldoe](https://github.com/sem-feldoe)

---

Top Contributors

[![sem-feldoe](https://avatars.githubusercontent.com/u/62690891?v=4)](https://github.com/sem-feldoe "sem-feldoe (24 commits)")

---

Tags

feldoelaravel-resource-index

### Embed Badge

![Health badge](/badges/feldoe-laravel-resource-index/health.svg)

```
[![Health](https://phpackages.com/badges/feldoe-laravel-resource-index/health.svg)](https://phpackages.com/packages/feldoe-laravel-resource-index)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k90.5k1](/packages/mike-bronner-laravel-model-caching)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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