amphp/sql
Async SQL library for PHP built on Amp. Provides non-blocking database connections, query execution, and result handling with a consistent API, enabling high-concurrency apps without blocking I/O. Supports common drivers and integrates cleanly with event-loop workflows.
This package provides interfaces and classes shared by amphp/mysql and amphp/postgres. See amphp/sql-common for common implementations shared by these libraries.
We require PHP 8.2+ for development due to the Psalm version we use, but still support PHP 8.1 at runtime. However, PHP 8.1 no longer receives updates, so please upgrade to a newer version of PHP.
amphp/sql follows the semver semantic versioning specification like all other amphp packages.
If you discover any security related issues, please use the private security issue reporter instead of using the public issue tracker.
The MIT License (MIT). Please see LICENSE for more information.
How can I help you explore Laravel packages today?