mnpenner/querybuilder

MySQL query builder

Maintainers

Package info

github.com/mnpenner/querybuilder

pkg:composer/mnpenner/querybuilder

Statistics

Installs: 14 003

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2019-05-25 21:02 UTC

This package is auto-updated.

Last update: 2026-03-19 13:47:41 UTC


README

Goals

  • Easily build up large queries piece by piece based on conditional logic in PHP
  • Prevent syntactically invalid SQL
  • Prevent SQL injection by making it difficult not to escape something
  • Write clauses in any order
  • Easy integration with legacy projects
    • Work with any SQL driver, even the deprecated mysql_ functions
    • Work with new or existing connections

License

QueryBuilder is released under the MIT License.