Skip to content
@amphp

AMPHP

AMPHP is a collection of high-quality, event-driven libraries for PHP designed with fibers and concurrency in mind.

AMPHP is a collection of high-quality, event-driven libraries for PHP designed with fibers and concurrency in mind.

We provide a complete stack of production-ready libraries to write application using non-blocking I/O in PHP.

See our full list of libraries and documentation at amphp.org. Consider sponsoring our work if you find it useful!

Pinned Loading

  1. amp amp Public

    A non-blocking concurrency framework for PHP applications. 🐘

    PHP 4.4k 259

  2. http-server http-server Public

    An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands.

    PHP 1.3k 104

  3. http-client http-client Public

    An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

    PHP 733 70

  4. mysql mysql Public

    An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications.

    PHP 378 62

  5. redis redis Public

    Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

    PHP 165 31

  6. parallel parallel Public

    An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads.

    PHP 864 71

Repositories

Showing 10 of 69 repositories
  • postgres Public

    Async Postgres client for PHP based on Amp.

    amphp/postgres's past year of commit activity
    PHP 107 MIT 22 4 0 Updated Nov 4, 2026
  • socket Public

    Non-blocking socket and TLS functionality for PHP based on Amp.

    amphp/socket's past year of commit activity
    PHP 271 MIT 39 6 0 Updated Nov 4, 2026
  • hpack Public

    HPack - HTTP/2 header compression implementation in PHP.

    amphp/hpack's past year of commit activity
    PHP 109 MIT 7 1 1 Updated Nov 3, 2026
  • sql-common Public

    Implementations shared by amphp/postgres and amphp/mysql

    amphp/sql-common's past year of commit activity
    PHP 13 MIT 6 0 0 Updated Nov 3, 2026
  • process Public

    An async process dispatcher for Amp.

    amphp/process's past year of commit activity
    PHP 261 MIT 29 10 0 Updated Nov 1, 2026
  • http-server-static-content Public

    An HTTP server plugin to serve static files like HTML, CSS, JavaScript, and images effortlessly.

    amphp/http-server-static-content's past year of commit activity
    PHP 22 MIT 10 0 0 Updated Nov 1, 2026
  • mysql Public

    An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications.

    amphp/mysql's past year of commit activity
    PHP 378 62 6 1 Updated Nov 1, 2026
  • websocket Public

    Shared code for websocket servers and clients.

    amphp/websocket's past year of commit activity
    PHP 47 MIT 6 0 0 Updated Nov 1, 2026
  • http-client Public

    An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

    amphp/http-client's past year of commit activity
    PHP 733 MIT 70 7 7 Updated Nov 1, 2026
  • http-server Public

    An advanced async HTTP server library for PHP, perfect for real-time apps and APIs with high concurrency demands.

    amphp/http-server's past year of commit activity
    PHP 1,326 MIT 104 11 0 Updated Nov 1, 2026