Download the PHP package waxwink/search-repository without Composer
On this page you can find all versions of the php package waxwink/search-repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download waxwink/search-repository
More information about waxwink/search-repository
Files in waxwink/search-repository
Download waxwink/search-repository
More information about waxwink/search-repository
Files in waxwink/search-repository
Vendor waxwink
Package search-repository
Short Description An abstraction repository class for laravel which handles the filtering and searching through a table
License MIT
Package search-repository
Short Description An abstraction repository class for laravel which handles the filtering and searching through a table
License MIT
Please rate this library. Is it a good library?
Informations about the package search-repository
search-repository
Instruction
create a specific repository for your model (e.g User) and extend the SearchRepository. In your class you should define your filterable and searchable attributes and you are ready to go.
After creating the search repository class it can be used in your controller as follows while using the SearchTrait
:
Request Body
The request body should contain the fields that are going to be filtered like the following:
Search Param
Search param should contain the searching key words like:
All versions of search-repository with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
>=5.7
The package waxwink/search-repository contains the following files
Loading the files please wait ....