PHPackages                             kemodev/laravel-restful-filter - 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. kemodev/laravel-restful-filter

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

kemodev/laravel-restful-filter
==============================

A simple way to filter your query on RESTful API

v1.0.1(4y ago)15MITPHPPHP ^5.5|^7.0|^8.0

Since Jul 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/game5413/laravel-restful-filter)[ Packagist](https://packagist.org/packages/kemodev/laravel-restful-filter)[ Docs](https://github.com/game5413/laravel-restful-filter)[ RSS](/packages/kemodev-laravel-restful-filter/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Laravel RESTful Filter
======================

[](#laravel-restful-filter)

A simple way to filter your query on RESTful API

Compatibility
=============

[](#compatibility)

FrameworkVersionLaravel`5.*`, `6.*`, `7.*`, `8.*`Lumen`5.*`, `6.*`, `7.*`, `8.*`Limitation
==========

[](#limitation)

- Currently, only working on SQL type Database (already tested on MySQL, PostgreSQL, SQL Server)
- Probably SQL query not optimized (already checked on this but i think it doesn't have, the result was fast. In the end, it's your choise)
- Sorting through relation not available
- Filter `Between` and `In` not available
- Can't add custom logic

Available Search Operators
==========================

[](#available-search-operators)

- Less Than
- Less Than Equal
- Greater Than
- Greater Than Equal
- Equal
- LIKE
- NOT

Installation
============

[](#installation)

Install from composer

```
composer install kemodev/laravel-restful-filter
```

Use Package on your Model

```
