Skip to content

commonphp/database-mysql

Repository files navigation

CommonPHP MySQL Database Driver

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.

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages