Mezon PHP SQL Filter Query Builder: Generate SQL query condition clauses from arrays

Recommend this page to a friend!
  Info   View files Documentation   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-11-18 (16 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 27 This week: 27All time: 10,060 This week: 8Up
Version License PHP version Categories
mezon-filter 1.0MIT/X Consortium ...5PHP 5, Databases
Description Author

This class can generate SQL query condition clauses from arrays.

It takes an array of values that define filter conditions operations and parameter values and generates a string that can be used in the WHERE clause of a SQL query.

Currently it supports the SQL operators to use in the condition clause: <, >, <=, >=, =, like, !=, and, or and in.

Picture of Alexey Dodonov
  Performance   Level  
Name: Alexey Dodonov <contact>
Classes: 34 packages by
Country: Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 4x

 

Details

Filter Build Status codecov

Intro

Class wich can compile filter and pass as URL parameter.

Installation

Just print in console

composer require mezon/filter
  Files folder image Files  
File Role Description
Files folder imageTests (1 file)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Plain text file Filter.php Class Class source
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  Tests  
File Role Description
  Plain text file FilterUnitTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:27
This week:27
All time:10,060
This week:8Up

For more information send a message to info at phpclasses dot org.