Download the PHP package jgswift/qio without Composer
On this page you can find all versions of the php package jgswift/qio. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package qio
qio
PHP 5.5+ I/O utility package
Installation
Install via cli using composer:
Install via composer.json using composer:
Description
qio is a group of utilities meant to abstract stream applications in php. php already provides a large and robust implementation for handling streams and in many cases qio mainly serves as an OOP abstraction around native stream handling. However, qio also provides supplemental implementations for bitwise streaming, directory caching, file uploading, general asset management, and piping
Dependency
- php 5.5+
- jgswift/qtil - general utility library
- jgswift/kfiltr - filter, map, and hook implementation
- jgswift/observr - observer pattern implementation
- jgswift/kenum - enumerator implementation
Usage
File Writer
The following is a minimal example of file stream handling
File Reader
Directory Reader
Directory reading is conceptual similar to the above file operations
Memory Writer
Here is a memory stream that handles bytes reading/writing
Memory Reader
Object Writer
Serialize data on the fly by wrapping the file writer inside of a serial writer
Object Reader
Unserialize serial data by wrapping a file reader with a serial reader
Reader Piping
Pipe reads input data from a source stream and writes it to an output stream automatically
All versions of qio with dependencies
jgswift/qtil Version 0.1.*
jgswift/kfiltr Version 0.1.*
jgswift/observr Version 0.2.*
jgswift/kenum Version 0.1.*