clue/stream-filter
Lightweight PHP library that simplifies stream filtering with a few helper functions (append, prepend, fun, remove). Easily apply built-in or custom stream filters for on-the-fly transformations like gzip, encoding conversion, and compression, with solid tests and SOLID design.
zlib.deflate, string.strip_tags, rot13) without diving into PHP's cryptic native API. Ideal for projects using PHP 5.3+ (up to 8.3) where minimal dependencies are prioritized, and test coverage is non-negotiable.Executives: "This package eliminates 80% of stream-processing development time and risk. Instead of building custom, error-prone code for tasks like file compression or data sanitization, we leverage a battle-tested, MIT-licensed tool with 100% test coverage. It reduces engineering costs by $X/year while accelerating feature delivery—no maintenance overhead, no legal risks, and seamless integration with any PHP stack."
Engineering: "A frictionless drop-in solution for stream filtering. Replaces PHP's clunky native API with intuitive functions like fun('zlib.deflate') or append($stream, 'strtoupper'). Zero dependencies, full PHP 8.3 support, and proven in production via 1,700+ stars. Integrates in minutes—no learning curve for common tasks, and tests catch edge cases before they hit production."
How can I help you explore Laravel packages today?