digitalcz/streams

Opinionated abstraction around PHP streams implementing PSR-7 StreamInterface

v0.6.0 2024-03-26 07:20 UTC

This package is auto-updated.

Last update: 2024-04-26 07:44:46 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require CI codecov

Opinionated abstraction around PHP streams implementing PSR-7 StreamInterface. It aims to improve working with files or remote streams in unified way.

Heavily inspired by guzzle/psr7.

Install

Via Composer

$ composer require digitalcz/streams

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer csfix    # fix codestyle
$ composer checks   # run all checks 

# or separately
$ composer tests    # run phpunit
$ composer phpstan  # run phpstan
$ composer cs       # run codesniffer

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email devs@digital.cz instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.