postgres
Async Postgres client for PHP based on Amp. (by amphp)
mysql
An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications. (by amphp)
postgres | mysql | |
---|---|---|
3 | 2 | |
88 | 346 | |
- | 1.4% | |
7.6 | 7.5 | |
about 2 months ago | about 2 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgres
Posts with mentions or reviews of postgres.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-05.
-
Is it possible to write a PDO driver in pure PHP?
As for writing SQL database adapters with an efficient API, look at https://github.com/amphp/postgres/tree/f52cc35ef02ee4ad709083e0432c2288d4df7de0 - it doesn't implement the PDO API, but it shows that performance can be achieved in userland, when the architectural paradigm is the right one for the job.
- Modern and fast way to make multiple database queries?
mysql
Posts with mentions or reviews of mysql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-05.
-
Is it possible to write a PDO driver in pure PHP?
Here's an example of a PHP-only driver that talks to MySQL: https://github.com/amphp/mysql/tree/master/src
-
Why PHP is AWESOME ( PHP vs NodeJS & Python )
While async DB exists, I don't think it is very important. Usually queries take just few milliseconds if DB is properly designed and has aggregate columns.
What are some alternatives?
When comparing postgres and mysql you can also consider the following projects:
http-client - An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.
Ratchet - Asynchronous WebSocket server
http-server - An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands.
Amp - A non-blocking concurrency framework for PHP applications. 🐘
MadelineProto - Async PHP client API for the telegram MTProto protocol
pdo-via-oci8 - PHP PDO_OCI functions via OCI8 extension