Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
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.