PHP Package: zbateson/stream-decorators

Stream decorators for PHP providing enhanced functionality for stream manipulation and processing.

Current Version: 2.1.1
Last Updated: 2024-04-29
PHP Requirement: >=7.1
Dependencies: php/php, psr/log
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Stream decorators is a PHP library that offers a set of tools to enhance stream handling, manipulation, and processing. It provides a collection of decorators to extend and modify the behavior of PHP streams, enabling developers to streamline their I/O operations efficiently. With stream-decorators, you can easily implement advanced stream processing functionalities in your PHP applications.

🔗 View on GitHub

Download Latest Version: 2.1.1

Download Download v2.1.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/zbateson/stream-decorators/2.1.1/autoload.php';

use zbateson\StreamDecorators\Stream\StreamDecorator;
use zbateson\StreamDecorators\Stream\StreamFilter;
use zbateson\StreamDecorators\Stream\StreamProcessor;
use zbateson\StreamDecorators\Stream\StreamWrapper;
use PHP\PHP;
use Psr\Log\LoggerInterface;


$obj = new zbateson\StreamDecorators\Stream\StreamDecorator();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.