amphp/amp
AMPHP (AMP) accelerates PHP concurrency with fibers, eliminating callbacks and generators. Built on PHP 8.1’s cooperative coroutines, it lets you run async tasks like sync code—ideal for I/O-bound apps. Use Amp\async() for parallel execution and Future::await() to handle results seamlessly. No event...
|
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 | 6K | 0 | 0.1 | 23.0 | 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. | 393 | 392 | 28 | 3M | 2 | 12.3 | 54.0 | MIT | 1 year 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. | 128 | 127 | 16 | 2M | 0 | 4.5 | 55.3 | MIT | 2 years 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. | 192 | 193 | 30 | 2M | 6 | 12.5 | 56.4 | MIT | 1 year ago | |
| amphp/file | Non-blocking file I/O for PHP 8.1+ in the AMPHP ecosystem. Read/write files or stream via async file handles while keeping apps responsive. Uses multi-process by default, with optional eio/uv/parallel drivers when available. | 110 | 111 | 27 | 42K | 6 | 31.5 | 44.0 | MIT | 4 weeks ago | |
| amphp/http-client | Asynchronous HTTP client for PHP built on Revolt with fibers and concurrency. Supports HTTP/1 & HTTP/2, concurrent requests, connection pooling, redirects, gzip/deflate decoding, streaming bodies, TLS by default, cookies/sessions, proxies, and custom methods—no ext/curl dependency. | 729 | 731 | 67 | 812K | 7 | 37.0 | 51.6 | MIT | 3 weeks ago | |
| amphp/http-server | Non-blocking, concurrent HTTP/1.1 and HTTP/2 application server for PHP 8.1+ built on Revolt and Amp (fibers). Includes TLS, middleware, gzip, and integrations for routing, static files, WebSockets, sessions, and more. | 1,324 | 1,323 | 102 | 601K | 11 | 41.2 | 46.7 | MIT | 1 month 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 | 13K | 1 | 22.9 | 39.3 | MIT | 2 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. | 21 | 21 | 12 | 2K | 1 | 4.2 | 27.5 | MIT | 2 years 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 | 3 | 42K | 1 | 1.5 | 48.0 | MIT | 1 year 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 | 72K | 3 | 2.9 | 45.0 | MIT | 2 years ago | |
| amphp/parallel | True parallel processing for PHP with AMPHP: run blocking work in worker processes or threads without blocking the event loop and without extensions. Includes non-blocking concurrency tools plus an opinionated worker pool API for submitting tasks and awaiting results. | 850 | 857 | 68 | 2M | 20 | 41.1 | 60.5 | MIT | 3 weeks 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 | 117K | 4 | 5.0 | 36.8 | MIT | 2 years ago | |
| 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... | 22 | 22 | 8 | 22K | 1 | 4.8 | 41.1 | MIT | 1 year ago | |
| amphp/pipeline | Fiber-safe concurrent iterators and collection operators for PHP 8.1+ using AMPHP. Build pipelines from iterables and consume them safely from multiple fibers with foreach or manual iteration, supporting async sets and concurrent processing. | 76 | 74 | 6 | 2M | 2 | 24.1 | 64.4 | MIT | 4 weeks ago | |
| amphp/process | Asynchronous process dispatcher for PHP (AMPHP) built for fibers and concurrency. Start and manage child processes cross-platform, stream stdout/stderr without blocking, set working directory and environment variables, powered by the Revolt event loop and Windows wrapper. | 256 | 257 | 29 | 2M | 10 | 14.0 | 57.3 | MIT | 6 days 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. | 265 | 265 | 37 | 2M | 6 | 32.1 | 64.7 | MIT | 1 month ago | |
| 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. | 20 | 20 | 5 | 33K | 1 | 15.3 | — | MIT | 3 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. | 190 | 188 | 12 | 2M | 0 | 5.4 | 55.3 | MIT | 1 year 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+). | 0 | 46 | — | 683K | — | 4.9 | 55.3 | — | — | |
| 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. | 162 | 164 | 16 | 671K | 6 | 12.5 | 53.1 | MIT | 9 months 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. | 124 | 124 | 17 | 6K | 2 | 5.1 | 22.9 | MIT | 2 years ago | |
| code-rhapsodie/dataflow-bundle | Symfony bundle for building import/export dataflows: one reader, ordered processing steps (sync/async), and one or more writers. Includes CLI tools and scheduling for jobs, status/result reporting, and support for multiple Doctrine DBAL connections. | 18 | 18 | 4 | 478 | 2 | 27.4 | 23.9 | MIT | 3 weeks ago | |
| darkwood/flow | Flow is a PHP 8.5+ package for building asynchronous pipelines with a functional style. Define steps with generators, pass typed data through each stage, and await execution. Includes examples and docs, with a focus on assembling code as “flows”. | 17 | 17 | 1 | 8 | 0 | 27.3 | 2.6 | MIT | 1 week ago | |
| inspector-apm/neuron-ai | Neuron is a PHP framework for building and orchestrating AI agents. Includes LLM provider interfaces, tools/toolkits, data loading, multi-agent workflows, plus monitoring and debugging for full agentic apps in Laravel or Symfony. | 1,940 | 1,941 | 215 | 20K | 5 | 49.1 | 21.0 | MIT | 1 week ago | |
| m2mtech/flysystem-stream-wrapper | Adds a PHP stream wrapper for Flysystem v2/v3 so you can use fly:// paths with native file functions (file_put_contents, mkdir, etc.). Includes Symfony Lock-based locking plus options to ignore visibility errors and emulate dir metadata. | 19 | 19 | 14 | 6K | 0 | 5.2 | 37.3 | MIT | 1 year ago | |
| neuron-core/neuron-ai | Neuron is a PHP framework for building and orchestrating AI agents. Integrate LLM providers, tools, data loading, and multi-agent workflows with monitoring and debugging support. Works with Laravel and Symfony and targets PHP 8.1+. | 1,940 | 1,937 | 215 | 117K | 5 | 48.2 | 32.9 | MIT | 1 week ago | |
| pestphp/pest-plugin-browser | Pest Plugin for Browser adds browser testing capabilities to Pest, helping you write expressive end-to-end tests for your PHP applications. Part of the Pest ecosystem—see pestphp.com for docs and setup guidance. | 131 | 127 | 118 | 608K | 0 | 9.0 | 68.2 | MIT | — | |
| phpro/grumphp | GrumPHP is a Composer plugin that installs Git hooks to run quality checks (tests, linters, code style) on staged changes before you commit. If tasks fail, the commit is blocked—helping teams enforce standards and improve code quality automatically. | 4,293 | 4,300 | 448 | 345K | 4 | 65.5 | 33.1 | MIT | 2 weeks ago | |
| pixelandtonic/graphql-php | PHP implementation of the GraphQL specification (based on graphql-js). Build schemas, execute queries, and add custom types, fields, and resolvers. Install via Composer and explore full docs and ready-to-run examples. | 0 | 0 | 0 | 65K | 0 | 0.0 | 55.3 | MIT | — | |
| prooph/event-store | Common interfaces and classes for Prooph Event Store implementations. Provides the core building blocks to work with event stores, with persistent implementations available via separate TCP and HTTP client packages. Supports PHP 7.4+ (v7). | 547 | 548 | 76 | 17K | 0 | 14.1 | 20.4 | BSD-3-Clause | 1 year ago | |
| vimeo/psalm | Psalm is a PHP static analysis tool that finds type issues, bugs, and dead code before runtime. It supports gradual typing via annotations, powerful checks, and configurable rules to improve code quality in applications and libraries. | 5,848 | 5,866 | 699 | 1M | 1,911 | 88.7 | 65.2 | MIT | 1 month ago | |
| webonyx/graphql-php | webonyx/graphql-php is a GraphQL server implementation for PHP, following the official GraphQL specification and modeled after graphql-js. Build schemas, execute queries, validate documents, and extend via types, resolvers, and tooling for production APIs. | 4,715 | 4,739 | 574 | 2M | 38 | 81.4 | 63.9 | MIT | 1 month ago |
How can I help you explore Laravel packages today?