PHPackages                             madlines/criteria - 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. madlines/criteria

ActiveLibrary

madlines/criteria
=================

016[2 issues](https://github.com/Madlines/Criteria/issues)PHP

Since May 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Madlines/Criteria)[ Packagist](https://packagist.org/packages/madlines/criteria)[ RSS](/packages/madlines-criteria/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Madlines Criteria
=================

[](#madlines-criteria)

This library lets you prepare a set of search criteria in a nice, object-oriented way without having to use e.g. ORM-specific query builder.

Keep in mind that this lib isn't trying to replace any query builders (like e.g. the one shipped with Doctrine 2 ORM).

A Criteria's structure makes it pretty easy to write a parser which will translate that object into a query you can send to your DB / SearchEngine / API / whatever.

Example usage
-------------

[](#example-usage)

```
