PHPackages                             hasnath/queryable - 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. hasnath/queryable

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

hasnath/queryable
=================

Laravel Queryable

v0.1.0(6y ago)110MITPHPPHP ^7.2

Since Apr 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/HasnatH/queryable)[ Packagist](https://packagist.org/packages/hasnath/queryable)[ RSS](/packages/hasnath-queryable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Queryable
=========

[](#queryable)

[![Total Downloads](https://camo.githubusercontent.com/73bb7e3a052b1126e12ba280dd89728b4e87e943e1747d0ee7fcc867422d69f9/68747470733a2f2f706f7365722e707567782e6f72672f6861736e6174682f717565727961626c652f642f746f74616c2e737667)](https://packagist.org/packages/hasnath/queryable)[![Latest Stable Version](https://camo.githubusercontent.com/65a5b613ddb2b56c2e41051b046f8ee7ec32e7e5e5aaebfda4d3664e40aec89c/68747470733a2f2f706f7365722e707567782e6f72672f6861736e6174682f717565727961626c652f762f737461626c652e737667)](https://packagist.org/packages/hasnath/queryable)[![License](https://camo.githubusercontent.com/e0c1822be159092b192274b00ce0448cf704cc7a25c85a57e104495620265f7a/68747470733a2f2f706f7365722e707567782e6f72672f6861736e6174682f717565727961626c652f6c6963656e73652e737667)](https://packagist.org/packages/hasnath/queryable)

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

[](#introduction)

`Queryable` gives you query builder helpers such as `Filter` and `OrderBy` to make APIs easier to create.

Requirements
------------

[](#requirements)

The following is required to use Queryable

```
Laravel
PHP 7

```

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

[](#installation)

To get started, install Queryable via the Composer package manager:

```
composer require hasnath/queryable
```

Add the `QueryableServiceProvider` to your `providers` in `config/app.php`

```
HasnatH\Queryable\Providers\QueryableServiceProvider::class
```

Publish the configuration file

```
php artisan vendor:publish --provider="HasnatH\Queryable\Providers\QueryableServiceProvider"
```

Configuration
-------------

[](#configuration)

The configuration file will be published `config/queryable.php`

```
