imponeer / criteria
Small library for building database criteria strings
Installs: 19 053
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.3 || ^8.0
- myclabs/php-enum: ^1.8
Requires (Dev)
- phpunit/phpunit: ^9.5
README
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.