NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3766 most downloaded on Packagist
Asynchronous MySQL client for PHP based on Amp.
Last release 4 months ago
16 May 2026
Release timing varies
gaps range from 3 weeks to 1.7 years
Rarely documented
notes for 4 of 26 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
36 releases · first in 2015
Silence PHP 8.5 chr() deprecation in encodeInt8 by @webpatser in #145
amphp/file@4.xFull Changelog: v3.1.0...v3.1.1
Added a parameter for the default transaction isolation to MysqlConnectionPool to set the default transaction level when constructing the pool
MysqlConnectionPool to set the default transaction level when constructing the poolNULL for JSON typed columns (#136)MEDIUMINT columns using the binary protocol (#140)Full Changelog: v3.0.1...v3.1.0
One column per quarter.
Fixed PHP 8.5 deprecations. Full Changelog : v3.0.0...v3.0.1
Full Changelog: v3.0.0...v3.0.1
Stable release compatible with AMPHP v3 and fibers! 🎉
Stable release compatible with AMPHP v3 and fibers! 🎉
As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.
Mysql to avoid collisions with similar names from other libraries.MysqlTransaction now extends MysqlLink instead of MysqlExecutor to support nested transactions.MysqlDataType is now an enum of MySQL data type codes and methods to decode data based on type.MysqlResult::getColumnDefinitions() which returns an array of MysqlColumnDefinition objects corresponding to the result set rows.MysqlStatement::bind() now requires a string. Binding only makes sense with long strings anyway.MysqlConnection is now an interface extending SqlConnection, with SocketMysqlConnection being the implementation.MysqlConnector since the interface was replaced by template types on SqlConnector, i.e. SqlConnector<MysqlConfig, MysqlConnection>Full Changelog: v3.0.0-beta.8...v3.0.0-beta.9
amphp/sql-common@v2.0.0-beta.9.Full Changelog: v3.0.0-beta.7...v3.0.0-beta.8
Nested transactions have been refactored to be created simply with MysqlTransaction::beginTransaction() instead of needing to wrap a MysqlTransaction into a MysqlNestableTransaction. If you did not use savepoints or nested transactions, you likely will be able to upgrade to this version without any code changes.
amphp/sql@v2.0.0-beta.6 and amphp/sql-common@v2.0.0-beta.7. Removed MysqlNestableTransaction.MysqlConnection interface now extends the base interface Connection from amphp/sql.MysqlEncodedValue, replacing MysqlDataType::encodeValue().SocketMysqlConnection::initialize() to connect(). The first parameter now accepts an instance of SocketConnector instead of a Socket.MysqlColumnDefinition now defines a set of getter methods instead of using public properties.Full Changelog: v3.0.0-beta.6...v3.0.0-beta.7
MysqlNestableTransaction which may be optionally used to create a MysqlLink from a MysqlTransaction object. Nested transactions are implemented using savepoints.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →