PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 56 All time: 10,551 This week: 206Up
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: 58 packages by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 185054 in Russian Federation Russian Federation
Week rank: 276 Up13 in Russian Federation Russian Federation Up
Innovation award
Innovation award
Nominee: 13x

Documentation

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:56
This week:0
All time:10,551
This week:206Up