imponeer/criteria

Small library for building database criteria strings

v1.0.8 2023-07-01 10:00 UTC

This package is auto-updated.

Last update: 2024-10-31 09:56:34 UTC


README

License GitHub release PHP Packagist Maintainability

Criteria

Small library to generate SQL WHERE, ORDER BY, GROUP BY query parts based ideas on Xoops CMS CriteriaElement, Criteria and CriteriaCompo classes but rewritten everything to with more open-source permissive license.

Installation

To install and use this package, we recommend to use Composer:

composer require imponeer/criteria

Otherwise, you need to include manually files from src/ directory.

How to contribute?

If you want to add some functionality or fix bugs, you can fork, change and create pull request. If you not sure how this works, try interactive GitHub tutorial.

If you found any bug or have some questions, use issues tab and write there your questions.