Download the PHP package xidanko/query-filter without Composer
On this page you can find all versions of the php package xidanko/query-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xidanko/query-filter
More information about xidanko/query-filter
Files in xidanko/query-filter
Download xidanko/query-filter
More information about xidanko/query-filter
Files in xidanko/query-filter
Vendor xidanko
Package query-filter
Short Description Elegant full featured query filter for laravel.
License MIT
Package query-filter
Short Description Elegant full featured query filter for laravel.
License MIT
Please rate this library. Is it a good library?
Informations about the package query-filter
Laravel Query Filter
Installation
Laravel will discover package service provider automatically
Basic Usage
First you have to add XiDanko\QueryFilter\HasFilter
trait to the desired model.
This will register useFilter
local scope to your model.
Now create new filter using this artisan command
This will create a new filter class in App\Filters
directory, there you can define all your filter methods.
Example
After using the trait in your desired model and creating the filter class you can hype hint your class in any controller method:
All versions of query-filter with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package xidanko/query-filter contains the following files
Loading the files please wait ....