Skip to content

Releases: commonphp/dbengine

Release 0.1.2 (Alpha)

04 Aug 15:01
eeec0e9
Compare
Choose a tag to compare
  • Removed constructor from QueryBuilder to allow custom constructors when extending

Release 0.1.1 (Alpha)

04 Aug 14:50
7d3ffb8
Compare
Choose a tag to compare
  • Allow QueryBuilder class to be extended
  • Prevent the results from being advanced in the constructor, skipping the first row
  • Checking if result has been read in Result->getValue(...) throws an exception if true; should be if false

Release 0.1 (Alpha)

17 Feb 02:30
Compare
Choose a tag to compare

We are thrilled to announce the inaugural release of the CommonPHP Database Engine, version 0.1. This release marks the culmination of dedicated effort to provide a robust, intuitive library for database interactions within PHP applications. Here’s a snapshot of what we've accomplished in this initial release:

Major Highlights:

  • Initial Setup and Foundation: The groundwork of the library has been established, providing a solid base for database interaction functionalities. This includes the initial setup of core components such as the Connection Manager and Query Builder, alongside the foundational architecture for type conversion and exception handling.

  • Docblock Documentation: Comprehensive in-line documentation has been added across the library, leveraging docblocks to ensure clear, accessible documentation for developers. This effort aims to facilitate easier integration and utilization of the library in projects by providing immediate, in-context explanations and usage details.

Features at a Glance:

  • Connection Management: Simplifies the management of database connections, providing a streamlined process for establishing and maintaining connections with various database systems.

  • Query Builder: Introduces a fluent interface for crafting SQL queries, supporting dynamic construction of queries with enhanced parameter management.

  • Type Conversion: Implements an extensible mechanism for converting data between PHP types and database types, facilitating seamless data handling.

  • Exception Handling: Delivers a comprehensive set of exceptions designed for precise error handling during database operations, aiding in the development of robust applications.

Getting Started:

To get started with the CommonPHP Database Library, you can install it using Composer:

composer require comphp/dbengine

For a quick dive into using the library, refer to the basic usage section in the readme, which guides you through initializing the Connection Manager, constructing queries with the Query Builder, handling data types, and managing exceptions.

Contributing:

Your contributions can help shape the future of the CommonPHP Database Library. Whether it's through submitting pull requests, reporting bugs, or suggesting enhancements, we welcome your involvement. Please refer to the contribution guidelines in our repository for more information.

Looking Ahead:

This is just the beginning. We're committed to evolving and expanding the CommonPHP Database Library with more features, refinements, and integrations. Stay tuned for future updates, and thank you for your interest and support.