Download the PHP package smartisan/laravel-query-filter without Composer
On this page you can find all versions of the php package smartisan/laravel-query-filter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download smartisan/laravel-query-filter
More information about smartisan/laravel-query-filter
Files in smartisan/laravel-query-filter
Package laravel-query-filter
Short Description Filter Eloquent via query URL
License MIT
Homepage https://github.com/itsmohd/query-filter
Informations about the package laravel-query-filter
Filter Eloquent results via query URL
Laravel query filter is a simple package that allows you to filter Eloquent results via URL query params.
Installation
You can install the package via composer:
You can publish the config file with:
Usage
-
Create a new filter class using the following command
-
Add a new filter method with your logic to the generated filter class
- To trigger the filter method, do the following in your controller
the status filter method will be triggered automatically when the URL contains the following query param
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Mohammed Isa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-query-filter with dependencies
illuminate/contracts Version ^10.0
illuminate/database Version ^10.0
illuminate/http Version ^10.0
illuminate/support Version ^10.0