PHPackages                             betalabs/engine-api-handler - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. betalabs/engine-api-handler

ActiveLibrary[HTTP &amp; Networking](/categories/http)

betalabs/engine-api-handler
===========================

Package providing relation filtering abilities to API-handler

v4.0.3(11mo ago)07.0k↓86%MITPHPPHP ^8.1CI failing

Since Oct 15Pushed 11mo ago3 watchersCompare

[ Source](https://github.com/Betalabs/engine-api-handler)[ Packagist](https://packagist.org/packages/betalabs/engine-api-handler)[ RSS](/packages/betalabs-engine-api-handler/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (20)Used By (0)

engine-api-handler
==================

[](#engine-api-handler)

 This package allows the search and filtering of related tables data using Marcel Gwerder's API handler. It only requires that you extend the class AbstractIndexHandler, implementing the method buildQuery(), which must return Laravel's \\Illuminate\\Database\\Eloquent\\Builder object. Then, to return the query results, you must call the method execute() of that class.

 For the correct functioning of the package, you must separate the related tables using "-&gt;" in the URL, instead of ".". You must also name the Eloquent methods of each related table using the exact same name of that table in the Database.

 You also have to put the file apihandler.php inside the config folder of your laravel project.

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

[](#installation)

Install the package via composer

```
$ composer require betalabs/engine-api-handler
```

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance50

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 57.6% 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 ~164 days

Recently: every ~190 days

Total

16

Last Release

351d ago

Major Versions

v0.1.7 → v1.0.02020-10-21

v1.0.1 → v2.0.02022-06-15

v2.0.0 → v3.0.02023-06-19

v3.0.0 → v4.0.02025-02-18

PHP version history (4 changes)v0.1PHP &gt;=7.1.3

v1.0.0PHP &gt;=7.3.0

v3.0.0PHP &gt;=7.3.0 | ^8.0

v4.0.1PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5718a3a2c41de555560fde3279aaf122ce1584540c5f123e7661eaa3d79dba73?d=identicon)[diego-betalabs](/maintainers/diego-betalabs)

---

Top Contributors

[![humbcezar](https://avatars.githubusercontent.com/u/35922160?v=4)](https://github.com/humbcezar "humbcezar (19 commits)")[![Carlos-Rios-P](https://avatars.githubusercontent.com/u/106090280?v=4)](https://github.com/Carlos-Rios-P "Carlos-Rios-P (5 commits)")[![diego-betalabs](https://avatars.githubusercontent.com/u/1482834?v=4)](https://github.com/diego-betalabs "diego-betalabs (4 commits)")[![carlos-betalabs](https://avatars.githubusercontent.com/u/194793452?v=4)](https://github.com/carlos-betalabs "carlos-betalabs (3 commits)")[![marcelobetalabs](https://avatars.githubusercontent.com/u/2293700?v=4)](https://github.com/marcelobetalabs "marcelobetalabs (2 commits)")

---

Tags

apilaravelresthandler

### Embed Badge

![Health badge](/badges/betalabs-engine-api-handler/health.svg)

```
[![Health](https://phpackages.com/badges/betalabs-engine-api-handler/health.svg)](https://phpackages.com/packages/betalabs-engine-api-handler)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k67.4M263](/packages/nelmio-api-doc-bundle)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10244.2k5](/packages/bitrix24-b24phpsdk)[api-platform/http-cache

API Platform HttpCache component

274.6M20](/packages/api-platform-http-cache)

PHPackages © 2026

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