Download the PHP package amphp/mysql without Composer
On this page you can find all versions of the php package amphp/mysql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package mysql
Short Description Asynchronous MySQL client for PHP based on Amp.
License MIT
Informations about the package mysql
amphp/mysql
AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind.
amphp/mysql
is an asynchronous MySQL client.
The library implements concurrent querying by transparently distributing queries across a scalable pool of available connections. The client transparently distributes these queries across a scalable pool of available connections and does so using 100% userland PHP; there are no external extension dependencies (e.g. ext/mysqli
, ext/pdo
, etc.).
Features
- Exposes a non-blocking API for issuing multiple MySQL queries concurrently
- Transparent connection pooling to overcome MySQL's fundamentally synchronous connection protocol
- MySQL transfer encoding support (gzip, TLS encryption)
- Support for parameterized prepared statements
- Nested transactions with commit and rollback event hooks
- Unbuffered results to reduce memory usage for large result sets
- Full MySQL protocol support including all† available commands asynchronously
† As documented in official Mysql Internals Manual
Installation
This package can be installed as a Composer dependency.
Requirements
- PHP 8.1+
Usage
More extensive code examples reside in the examples
directory.
Versioning
amphp/mysql
follows the semver semantic versioning specification like all other amphp
packages.
Security
If you discover any security related issues, please use the private security issue reporter instead of using the public issue tracker.
License
The MIT License (MIT). Please see LICENSE
for more information.
All versions of mysql with dependencies
amphp/amp Version ^3
amphp/parser Version ^1.1
amphp/pipeline Version ^1
amphp/socket Version ^2.2
amphp/sql Version ^2
amphp/sql-common Version ^2