What?¶ Searcher is a framework-agnostic search query builder. Search queries are written using Criterias and can be run against MySQL, MongoDB or even files. Latest version is supporting only PHP 7. You can find searcher in two most important places: GitHub repository: https://github.com/krzysztof-gzocha/searcher

Packagist: https://packagist.org/packages/krzysztof-gzocha/searcher

Why?¶ Did you ever seen code responsible for searching some entities basing on many different criteria? It can be quite a mess! Imagine that you have a form with 20 fields and all of them have their impact on searching conditions. It’s maybe not a great idea to pass whole form to some service at let it parse everything in one place.