SQL Query Builder library

0.8 2012-07-18 13:05 UTC

This package is not auto-updated.

Last update: 2022-08-06 03:37:47 UTC


Build Status

Classes used to build programmatically standard SQL Queries (with some MySQL specific functions). These classes must be used with PDO and parameters are always bound .

Based on original work by Justin Stayton https://github.com/jstayton/QueryBuilder And some classes from Propel ORM project https://github.com/propelorm/Propel .


The easiest way is to use composer and packagist.org package csanquer/querybuilder.

Or copy manually the src/SQL directory and use a PSR-0 autoloader.


  • PHP >= 5.3.0

Getting Started

Read the documentation

Read the API documentation generated by PHP Documentor 2


License LGPL 3

This file is part of SQLQueryBuilder.

SQLQueryBuilder is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

SQLQueryBuilder is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with SQLQueryBuilder. If not, see http://www.gnu.org/licenses/.