Skip to content
Greg Bowler edited this page Feb 28, 2017 · 4 revisions

When introducing database connections to your PHP applications, it is beneficial if query scripts can be organised in a way that is simple, obvious and reusable. The PhpGt Database repository is intended to help your database access and organisation by introducing the concepts outlined below.

  • Quick start guide - learn by example.
  • Query Collections - a method of bundling queries with similar responsibilities.
  • Parameter binding - shorthand methods for binding parameters to prepared statements, protecting your application from SQL injection attacks.
  • Migrations - an automated mechanism for version controlling database schemas and synchronising deployments.
  • Query builder - a fluent PHP interface for creating and running database queries.
Clone this wiki locally