comphp/database-mysql

Database Driver for CommonPHP that builds queries for and connects to MySQL Server

Maintainers

Package info

github.com/commonphp/database-mysql

pkg:composer/comphp/database-mysql

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.3 2026-05-20 18:10 UTC

This package is auto-updated.

Last update: 2026-05-20 18:10:51 UTC


README

Database driver for CommonPHP that builds queries for and connects to MySQL Server.

Requirements

  • PHP ^8.5
  • comphp/database:^0.3
  • A MySQL extension or connection library supported by the implementation

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/database-mysql

Usage

<?php

// TODO: Write usage

Driver Notes

This driver is intended for applications that need MySQL connection and query behavior through CommonPHP Database.

The driver should keep MySQL-specific connection strings, query behavior, parameter handling, and result behavior outside the core database package.

Error Handling

Connection, query, transaction, configuration, and result failures should throw CommonPHP database driver exceptions instead of returning ambiguous false values.

Documentation

License

MIT. See LICENSE.md.