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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| amphp/cache | 0.90 | 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/http-server-static-content | 0.89 | 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/byte-stream | 0.89 | 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/amp | 0.86 | 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... | 4,416 | 4,431 | 258 | 3M | 15 | 48.5 | 47.2 | MIT | 9 months ago | |
| daverandom/libdns | 0.84 | Pure-PHP DNS message library for building, parsing, and manipulating DNS packets. Create queries and responses, work with resource records, headers, questions, and sections, and encode/decode wire format for custom resolvers, servers, and network tools. | 163 | 164 | 14 | 2M | 5 | 6.9 | 57.6 | MIT | 2 years ago | |
| amphp/http | 0.83 | Event-driven HTTP primitives for PHP 8.1+ in the AMPHP ecosystem. Provides shared building blocks for HTTP clients and servers, including IANA status codes with default reasons, RFC 6265 cookie parsing/creation (Set-Cookie/Cookie), and header utilities. | 103 | 103 | 10 | 895K | 1 | 8.0 | 54.7 | MIT | 1 year ago | |
| react/dns | 0.83 | Async DNS resolver for ReactPHP. Provides non-blocking hostname lookups with a simple ResolverInterface, optional caching, and advanced UDP/TCP transports and hosts file support. Also includes tools for working with DNS messages and building DNS servers. | 536 | 536 | 63 | 6M | 7 | 25.5 | 65.0 | MIT | 6 months ago | |
| spatie/dns | 0.80 | Fetch DNS records in PHP using dig. Query domains for A, AAAA, CNAME, MX, TXT, SRV and more, filter by type(s), and get structured record objects with handy accessors for record details. | 608 | 614 | 99 | 99K | 0 | 35.0 | 35.9 | MIT | 2 weeks ago | |
| php-standard-library/php-standard-library | 0.79 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,543 | 1,544 | 87 | 254K | 21 | 46.2 | 44.0 | MIT | 1 week ago | |
| amphp/socket | 0.79 | 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/http-server | 0.78 | 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 | |
| azjezz/psl | 0.78 | PSL (PHP Standard Library) offers a consistent, well-typed set of safer, async-ready APIs to replace PHP primitives. Covers async, collections, networking, I/O, cryptography, terminal UI, and type-safe data validation with predictable errors. | 1,543 | 1,545 | 87 | 388K | 21 | 47.7 | 46.9 | MIT | 1 week ago |
How can I help you explore Laravel packages today?