PHPackages                             strawberrydev/siftify - 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. strawberrydev/siftify

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

strawberrydev/siftify
=====================

Laravel package for managing HTTP request filtering.

v1.0.3(1y ago)111AGPL-3.0-or-laterPHPPHP ^8.0

Since Apr 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/strawberry-development/Siftify)[ Packagist](https://packagist.org/packages/strawberrydev/siftify)[ RSS](/packages/strawberrydev-siftify/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Siftify
=======

[](#siftify)

[![Latest Version on Packagist](https://camo.githubusercontent.com/61d718d0e62a1780efaaba3d5fd0b68108b5c41ef3dcca8f06bd8bcf15272ade/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737472617762657272796465762f736966746966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/strawberrydev/siftify)

Siftify is a Laravel package designed for building robust APIs with ease. It provides a flexible and intuitive API for filtering, sorting, and paginating Eloquent models—ideal for developers who want powerful query capabilities with minimal effort.

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

[](#installation)

To install Siftify, run the following composer command:

```
composer require strawberrydev/siftify
```

Publish Configuration
---------------------

[](#publish-configuration)

Publish the package's configuration file by running:

```
php artisan vendor:publish --tag="siftify-config"
```

This will generate the configuration file in `config/siftify.php`.

Basic Usage
-----------

[](#basic-usage)

Here's an example of how to use Siftify in your controller:

```
use strawberrydev\Siftify\Siftify;

class UserController extends Controller
{
    public function index(Request $request)
    {
        // Create a new Siftify instance
        $siftify = Siftify::for($request)
            ->filterOnModel(User::class)
            ->allowedFilters('name', 'email', 'role', 'created_at')
            ->relationships('posts', 'profile')
            ->paginate()
            ->get();

        // Return the filtered, sorted, and paginated results
        return $siftify->toJson();
    }
}
```

Making Requests
---------------

[](#making-requests)

You can now make API requests like:

```
GET /api/users?name=John&role=admin&sort=created_at&order=desc&page=2&per_page=15

```

Filtering Relations
-------------------

[](#filtering-relations)

You can also filter based on related models. For example:

```
GET /api/users?posts.title=Laravel&profile.country=US

```

Or use alternate syntax:

```
GET /api/users?posts*title=Laravel&profile*country=US

```

Quick Start
-----------

[](#quick-start)

For more detailed documentation, examples, and advanced usage, check out the [Quick Start Guide](quickStart.md).

Configuration Options
---------------------

[](#configuration-options)

The configuration file `config/siftify.php` provides options to customize:

- Pagination settings
- Response format
- Meta information
- Security settings
- Standard parameters

Contributing
------------

[](#contributing)

We welcome contributions! Feel free to suggest improvements or submit PRs.

Security
--------

[](#security)

If you find any security-related issues, please get in touch directly.

License
-------

[](#license)

This project is licensed under the MIT License.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance48

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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 ~1 days

Total

4

Last Release

400d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf3aa0420bfa6088f7ead2b2ca45993d7bda377dc197d25cf5f5c6ccb51bcbff?d=identicon)[strawberry-development](/maintainers/strawberry-development)

---

Tags

laravellaravel-package

### Embed Badge

![Health badge](/badges/strawberrydev-siftify/health.svg)

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

###  Alternatives

[binaryk/laravel-restify

Laravel REST API helpers

651399.1k](/packages/binaryk-laravel-restify)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[lomkit/laravel-rest-api

A package to build quick and robust rest api for the Laravel framework.

59152.2k](/packages/lomkit-laravel-rest-api)[wirechat/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

5434.7k](/packages/wirechat-wirechat)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[georgeboot/laravel-echo-api-gateway

Use Laravel Echo with API Gateway Websockets

10435.5k](/packages/georgeboot-laravel-echo-api-gateway)

PHPackages © 2026

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