zbateson/stream-decorators
Lightweight PHP stream decorators for composing and filtering streams. Wrap any resource to add behaviors like buffering, limiting, logging, or on-the-fly transforms while keeping a standard stream interface. Useful for email parsing, I/O pipelines, and testing.
Adopt when your application requires composable, stackable stream transformations (e.g., buffering, throttling, or filtering) with minimal boilerplate. Best for PHP projects where native stream resources need extended behavior without full reimplementation. Avoid if stream operations are infrequent, your stack includes equivalent built-in tools (e.g., Symfony’s HTTP foundation), or enterprise-grade support is critical (community size is modest at 47 stars).
For executives: This package slashes development time and costs for data pipeline features by providing ready-to-use stream utilities. With BSD licensing, it’s low-risk and reduces maintenance overhead for I/O-heavy components. For engineering: It abstracts complex stream plumbing into simple, testable decorators—just compose layers like buffering or throttling without reinventing core I/O logic. Perfect for building scalable, maintainable data processing workflows.
How can I help you explore Laravel packages today?