PHPackages                             laravel-restive/restive - 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. laravel-restive/restive

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

laravel-restive/restive
=======================

An API framework for Laravel

1.0.0(2y ago)22102[4 issues](https://github.com/laravel-restive/restive/issues)[1 PRs](https://github.com/laravel-restive/restive/pulls)MITPHP

Since Dec 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/laravel-restive/restive)[ Packagist](https://packagist.org/packages/laravel-restive/restive)[ GitHub Sponsors](https://github.com/zcwilt)[ RSS](/packages/laravel-restive-restive/feed)WikiDiscussions master Synced yesterday

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

Api Query Builder
=================

[](#api-query-builder)

[![GitHub](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://github.com/laravel-restive/restive/blob/master/LICENSE)

Introduction
------------

[](#introduction)

Api Query Builder allows for complex filtering, sorting via an api endpoint.

It is intended to be part of a larger package that also provides full CRUD abilities for a Laravel API.

Full documentation is available [here](https://laravel-restive.github.io/restive-docs)

but see examples below for an idea of what the package provides.

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

[](#installation)

There is no current release so to install you will need to do

`composer require laravel-restive/restive dev-master`

Filtering
---------

[](#filtering)

Examples

```
where[]=id:eq:1

whereIn[]=id:(1,2,3)

whereBetween[]=age:18,45

```

Sorting
-------

[](#sorting)

```
sort[]=id,-name

```

would sort ascending on id, the sort descending on name

Columns
-------

[](#columns)

By default queries will return all columns

You can restrict columns using

```
columns[]=id,name

```

Lots More
---------

[](#lots-more)

Lots more filtering options are available. see the [Documentation](https://laravel-restive.github.io/restive-docs)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance6

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

868d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56678e046d4c66f28353ae4ed0a77101920e2f9afba29f47e76cb105f4f91adc?d=identicon)[zcwilt](/maintainers/zcwilt)

---

Top Contributors

[![zcwilt](https://avatars.githubusercontent.com/u/227354?v=4)](https://github.com/zcwilt "zcwilt (12 commits)")

---

Tags

apilaravelrestapilaravelrest

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[chrisbjr/api-guard

A simple way of authenticating your APIs with API keys using Laravel

698375.6k5](/packages/chrisbjr-api-guard)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[marcelgwerder/laravel-api-handler

Package providing helper functions for a Laravel REST-API

16092.6k](/packages/marcelgwerder-laravel-api-handler)[bjerke/api-query-builder

A query builder for Laravel that parses the request and uses Eloquent ORM to query database

267.7k1](/packages/bjerke-api-query-builder)[sdv/laravel-endpoint

Laravel Endpoint is a CRUD REST API package for Laravel.

1118.8k](/packages/sdv-laravel-endpoint)[bjerke/laravel-bread

A boilerplate package for BREAD operations through REST API in Laravel

115.2k](/packages/bjerke-laravel-bread)

PHPackages © 2026

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