amphp/phpunit-util
Small utility for simplifying async testing in PHPUnit with AMPHP’s fiber-based concurrency. Integrates seamlessly with AsyncTestCase to run tests as coroutines, ensuring smooth execution of I/O-bound operations like sockets, streams, and HTTP requests. Works with PHP 8.1+. Ideal for testing concurr...
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/artax | Deprecated (unmaintained) async HTTP/1.1 client for PHP built on Amp. Implements HTTP over raw TCP sockets (no ext/curl), with keep-alive pooling, redirects, gzip decoding, streaming bodies, TLS, cookies, and proxy support. Use amphp/http-client instead. | 23 | 26 | 4 | 5K | 0 | 0.1 | 22.5 | MIT | — | |
| amphp/byte-stream | Event-driven byte stream abstractions for PHP 8.1+ in the AMPHP ecosystem. Provides ReadableStream/WritableStream interfaces plus implementations like Payload, buffers, resource/iterable streams, stream chaining, base64 encode/decode, and decompression for fiber-friendly I/O. | 396 | 395 | 30 | 6M | 2 | 32.2 | 64.8 | MIT | 1 week ago | |
| amphp/cache | Non-blocking cache library for Amp-based PHP apps. Provides async cache interfaces and adapters (e.g., in-memory, filesystem, Redis) with TTL support, atomic operations, and PSR-style ergonomics for high-concurrency services. | 134 | 133 | 15 | 6M | 0 | 5.7 | 55.3 | MIT | 2 years ago | |
| amphp/cluster | amphp/cluster lets PHP applications scale across multiple processes and machines, providing cluster nodes, workers, message passing, job distribution, and synchronization primitives on top of Amp for building resilient distributed systems. | 61 | — | 11 | — | 6 | 2.3 | 1.5 | MIT | 1 year ago |
|
| amphp/dns | Async DNS resolver for PHP built on Amp. Provides non-blocking hostname lookups, record queries, caching and timeouts with an event loop, ideal for high-concurrency applications and CLI tools needing fast, reliable DNS without blocking I/O. | 198 | 197 | 30 | 5M | 4 | 32.0 | 65.6 | MIT | 6 days ago | |
| amphp/file | amphp/file provides non-blocking file access for PHP 8.1+ applications built with fibers and concurrency. Read, write, and stream files without blocking, using process, thread, or extension-based drivers for responsive I/O. | 110 | 111 | 27 | 70K | 5 | 23.0 | 46.1 | MIT | 5 months ago | |
| amphp/http-client | A fully asynchronous HTTP/1 and HTTP/2 client for PHP built on Revolt, with no cURL dependency. It supports concurrent requests, connection pooling, redirects, compression, streaming bodies, cookies, and proxies through a composable interceptor API. | 733 | 735 | 70 | 2M | 7 | 38.0 | 62.1 | MIT | 6 days ago | |
| amphp/http-server | A non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP built on Revolt and Amp. It forwards requests to RequestHandler implementations and supports middleware, TLS, GZIP compression, and fiber-based concurrency. | 1,326 | 1,327 | 104 | 2M | 11 | 42.6 | 56.3 | MIT | 6 days ago | |
| amphp/http-server-form-parser | Parses application/x-www-form-urlencoded and multipart/form-data request bodies for amphp/http-server, giving handlers easy access to submitted form fields and uploaded files with a simple, asynchronous API. | 18 | — | 5 | — | 1 | 0.3 | — | MIT | 3 years ago |
|
| amphp/http-server-router | amphp/http-server-router is a fast, async router for Amp’s HTTP server. It maps paths and methods to request handlers, supports route groups and parameters, and provides middleware-style dispatching for building clean, high-performance PHP microservices. | 39 | 39 | 6 | 30K | 1 | 2.9 | 39.6 | MIT | 3 years ago | |
| amphp/http-server-static-content | AMPHP HTTP server component for efficiently serving static files (assets, downloads) with correct MIME types, caching headers, range requests, and directory handling. Designed for non-blocking, event-driven apps built on amphp/http-server. | 22 | 22 | 10 | 3K | 0 | 23.8 | 34.5 | MIT | 5 days ago | |
| amphp/http-tunnel | AMPHP HTTP Tunnel provides asynchronous HTTP tunneling for PHP using Amp, enabling CONNECT-based proxy tunneling and transparent TCP-over-HTTP streams. Useful for building clients that need to reach services through HTTP proxies with non-blocking I/O. | 13 | 13 | 4 | 45K | 1 | 20.9 | 56.7 | MIT | 1 week ago | |
| amphp/log | Amp’s minimal PSR-3 compatible logging library with a simple Logger interface and built-in handlers. Designed for async apps, it integrates cleanly with the amphp ecosystem while remaining lightweight and easy to extend with custom log targets and formatters. | 40 | 40 | 5 | 80K | 3 | 2.9 | 45.6 | MIT | 3 years ago | |
| amphp/mysql | amphp/mysql is an asynchronous MySQL client for PHP built on Amp. It offers non-blocking queries, connection pooling, prepared statements, transactions, and streaming results for high-concurrency, event-driven applications. | 377 | 377 | 62 | 70K | 6 | 16.4 | 36.6 | NOASSERTION | 5 months ago | |
| amphp/parallel | True parallel processing for PHP with AMPHP: run blocking tasks in worker processes or threads without blocking the event loop. Provides non-blocking concurrency tools and an easy worker pool API for distributing work; no extensions required (threads optional). | 864 | 859 | 71 | 2M | 20 | 32.6 | 57.0 | MIT | 5 months ago | |
| amphp/parallel-functions | Wrap callables to run in parallel processes/threads with AMPHP. Provides helpers like parallelMap to execute CPU-heavy or blocking tasks concurrently; callable state must be serializable. Built for PHP 8.1+ with fibers-friendly concurrency. | 279 | 280 | 18 | 104K | 4 | 5.0 | 36.1 | MIT | 2 years ago | |
| amphp/pipeline | amphp/pipeline provides fiber-safe concurrent iterators and collection operators for AMPHP event-driven PHP apps. Consume asynchronous sets with foreach, yield from, or iterator_to_array across multiple fibers. Requires PHP 8.1+; install via composer require amphp/pipeline. | 84 | 77 | 6 | 3M | 1 | 20.2 | 62.2 | MIT | 3 months ago | |
| amphp/postgres | Asynchronous, non-blocking PostgreSQL client for PHP built on Amp. Supports connection pooling, prepared statements, transactions, and concurrent queries, making it ideal for high-performance event-driven applications. | 107 | — | 22 | — | 5 | 9.3 | 2.4 | MIT | 8 months ago |
|
| amphp/process | amphp/process is an asynchronous process dispatcher for PHP 8.1+ built on the Revolt event loop. It runs child processes on all major platforms, including Windows, with non-blocking access to stdout and stderr, plus support for custom working directories and environment variables. | 261 | 262 | 29 | 6M | 10 | 34.2 | 67.9 | MIT | 5 days ago | |
| amphp/redis | — | 164 | — | 31 | — | 12 | 12.2 | 5.2 | MIT | 8 months ago |
|
| amphp/socket | Async, non-blocking socket library for AMPHP. Provides client/server abstractions over TCP, UDP, and Unix domain sockets with DNS resolution, retries, connect timeouts, cancellation, and optional TLS encryption. Implements ReadableStream/WritableStream. | 271 | 272 | 39 | 6M | 6 | 30.0 | 64.4 | MIT | 2 months ago | |
| amphp/sql-common | Shared interfaces and abstractions for asynchronous SQL database clients in Amp, including connection pools, query result interfaces, and common SQL exceptions. It forms the foundation for amphp/mysql and amphp/postgres. | 13 | — | 6 | — | 0 | 2.9 | — | MIT | 10 months ago |
|
| amphp/sync | Async synchronization primitives for Amp PHP: mutexes, semaphores, locks, and a synchronized helper. Coordinate concurrent fibers, ensure mutual exclusion, and cap parallel work (e.g., limit HTTP requests) with simple, safe abstractions. | 197 | 195 | 12 | 6M | 0 | 26.6 | 65.0 | MIT | 1 week ago | |
| amphp/websocket | Shared WebSocket components for AMPHP’s event-driven, fiber-based concurrency stack. Provides core abstractions used by amphp/websocket-server and amphp/websocket-client to build fast, non-blocking WebSocket clients and servers (PHP 8.1+). | 46 | 46 | 6 | 2M | 0 | 4.9 | 55.3 | MIT | 2 years ago | |
| amphp/websocket-client | Async WebSocket client for PHP built on Amp. Connect to ws/wss endpoints with fiber-friendly concurrency, consume realtime APIs, test WebSocket servers, and support custom handshakes, headers, heartbeats, and rate limits. | 164 | 165 | 16 | 3M | 6 | 8.0 | 56.4 | MIT | 1 year ago | |
| amphp/websocket-server | Async WebSocket server for PHP built on Amp’s event-driven concurrency. Handles upgrades, connections, message streaming, backpressure and graceful shutdown, making it easy to build real-time apps like chat, dashboards and live notifications. | 126 | 126 | 18 | 29K | 2 | 5.2 | 32.5 | MIT | 2 years ago | |
| vimeo/psalm | Psalm is a static analysis tool for PHP that finds type errors, bugs, and unsafe code before runtime. It offers configurable strictness, baseline support, and CI integration to help teams catch issues early and improve code quality. | 5,897 | 5,914 | 725 | 2M | 1,898 | 91.7 | 69.1 | MIT | 1 week ago |
How can I help you explore Laravel packages today?