phrity/net-stream
PSR-7 StreamInterface and PSR-17 StreamFactory implementations built for socket-based I/O. Includes Stream, SocketStream, SocketClient/Server, context wrapper, stream collections, and stream-specific exceptions and utilities for network connections.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| windwalker/stream | 0.86 | — | 0 | 0 | 0 | 314 | 0 | 0.0 | 34.5 | MIT | — | |
| guzzle/stream | 0.85 | Lightweight stream abstraction for PHP and Guzzle, offering common stream utilities and decorators to read, write, and transform data consistently. Useful for building HTTP clients, middleware, and I/O workflows that need simple, testable stream handling. | 19 | 22 | 1 | 51K | 0 | 0.1 | 47.1 | — | — | |
| php-http/socket-client | 0.85 | PSR-7/PSR-18 HTTP client built on PHP streams. Supports TCP and UNIX domain sockets, TLS/SSL encryption, and client certificates. Lightweight, dependency-minimal option for making HTTP requests via socket connections. | 81 | 82 | 42 | 63K | 0 | 15.0 | 43.0 | MIT | 6 months ago | |
| guzzlehttp/psr7 | 0.84 | Full PSR-7 message implementation with rich stream support: multiple stream types and decorators (append, buffer, caching, etc.), plus helpers like query-string parsing. Installed via Composer and maintained with v2 for PHP 7.2.5+. | 7,938 | 8,002 | 23 | 19M | 4 | 60.1 | 55.3 | MIT | 2 weeks ago | |
| jstewmc/stream | 0.83 | jstewmc/stream is a small PHP library that provides a simple Stream abstraction for working with PHP stream resources. It helps with reading/writing, buffering, and common stream operations behind a cleaner, object-oriented API. | 5 | 5 | 0 | 9K | 0 | 0.0 | 44.1 | MIT | — | |
| analogic/socket | 0.83 | Analogic Socket is a PHP package for building lightweight TCP/UDP socket clients and servers. It provides simple APIs for connecting, sending/receiving data, and handling basic networking workflows without pulling in a full framework. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 10 years ago | |
| amphp/socket | 0.82 | 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. | 266 | 268 | 37 | 3M | 6 | 28.3 | 63.7 | MIT | 3 months ago | |
| twistor/stream-util | 0.82 | Lightweight PHP helper for working with streams. Copy/clone streams, inspect size and metadata, check readability/writability/seekability/appendability, and safely rewind/seek. Includes mode and URI utilities for fopen-compatible streams. | 9 | 9 | 8 | 13K | 0 | 0.7 | 43.8 | MIT | — | |
| symfony/json-streamer | 0.81 | Stream JSON efficiently with Symfony JsonStreamer. Read and write large JSON structures incrementally from streams to reduce memory usage, with powerful helpers for streaming serialization/deserialization and handling big payloads in real time. | 21 | 18 | 1 | 51K | 0 | 30.9 | 54.6 | MIT | 1 week ago | |
| phrity/websocket | 0.77 | PHP WebSocket client and multi-connection server with ws/wss support. Includes listener callbacks, standard Close and Ping/Pong handling, optional deflate compression, fragmentation and masking support, plus middleware system for extending behavior. | 217 | 216 | 24 | 261K | 1 | 29.7 | 49.3 | NOASSERTION | 1 month ago | |
| phrity/net-uri | 0.70 | Lightweight PSR-7 UriInterface and PSR-17 UriFactory implementation not tied to HTTP messaging. Supports any valid scheme plus helpful extras like query item helpers, component access, equals/string/json support, and immutable with* methods. | 9 | 9 | 2 | 372K | 0 | 9.9 | 58.7 | MIT | 8 months ago | |
| react/promise-stream | 0.70 | ReactPHP helper functions bridging promises and streams. Buffer an entire readable stream into a promise, get the first chunk, collect all chunks, or unwrap promises to readable/writable streams with proper error, cancel, and max-length handling. | 115 | 116 | 14 | 78K | 1 | 4.7 | 39.0 | MIT | 2 years ago | |
| yiisoft/test-support | 0.69 | Testing utilities for Yii applications: helpers and fixtures to simplify unit and integration tests, isolate dependencies, and improve readability. Provides common test tools you can reuse across packages and projects. | 15 | 15 | 11 | 22K | 3 | 13.7 | 47.8 | BSD-3-Clause | 6 months ago | |
| phrity/http | 0.69 | Phrity Http provides small PSR-friendly utilities for HTTP in PHP. Includes an HttpFactory wrapper that combines PSR-17 factories (or auto-configures from a single implementation) and a Serializer that converts PSR-7 requests/responses/messages to raw HTTP strings. | 0 | 0 | 0 | 46K | 0 | 9.0 | 59.2 | MIT | 7 months ago | |
| phrity/net-mock | 0.68 | Mocking layer for phrity/net-stream to simplify testing stream-based code. Drop-in compatible stream classes that can log all interactions via any PSR-3 logger and override behavior with callbacks. Includes PHPUnit expectation traits for asserting calls and parameters. | 0 | 0 | 0 | 651 | 0 | 16.9 | 43.6 | MIT | 4 months ago | |
| ringcentral/psr7 | 0.68 | PSR-7 HTTP message implementation built on Zend Diactoros, tailored for RingCentral integrations. Provides request/response, streams, URIs, and uploaded files with familiar interfaces for interoperable HTTP clients, middleware, and SDKs. | 151 | 154 | 303 | 93K | 0 | 10.9 | 38.5 | MIT | 6 years ago | |
| psr/http-factory | 0.63 | PSR-17 HTTP message factory interfaces for creating requests, responses, streams, URIs, and uploaded files. This package provides only the standard interfaces (no implementation). Find compatible implementations on Packagist. | 1,889 | 1,896 | 26 | 19M | 0 | 10.8 | 55.3 | MIT | 2 years ago |
How can I help you explore Laravel packages today?