PHP Package: amphp/byte-stream

High-performance PHP library for byte stream manipulation and processing, ideal for asynchronous I/O operations.

Current Version: 2.1.1
Last Updated: 2024-02-17
PHP Requirement: >=7.1
Dependencies: amphp/amp, amphp/async, amphp/parallel
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

amphp/byte-stream is a powerful PHP library designed for efficient handling of byte streams in asynchronous environments. It offers a wide range of functionalities for processing byte data, making it a perfect choice for I/O-intensive 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/amphp/byte-stream/2.1.1/autoload.php';

use Amp\ByteStream\ByteStream;
use Amp\ByteStream\OutputStream;
use Amp\ByteStream\InputStream;


$obj = new Amp\ByteStream\ByteStream();
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.