2017-25 © Pedro Peláez
 

library httplug-stream-wrapper

A stream wrapper that injects a HTTPlug client for streams

image

php-http/httplug-stream-wrapper

A stream wrapper that injects a HTTPlug client for streams

  • Wednesday, July 27, 2016
  • by Nyholm
  • Repository
  • 5 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Abandoned

To our knowledge, this repository is unused. We keep it here in case it is useful for anyone, but the code is not maintained., (*1)

Stream wrapper

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads, (*2)

Convert uses of fopen and file_get_contents to HTTPlug requests., (*3)

Disclaimer

Warning 1: There is an increased risk for problems because of how deeply the stream wrapper touches into the PHP core. Internally we use stream_wrapper_unregister and stream_wrapper_register., (*4)

Warning 2: Instead of using the stream wrapper you should should try to port libraries to use Httplug for a more robust solution., (*5)

Install

Via Composer, (*6)

``` bash $ composer require php-http/httplug-stream-wrapper, (*7)



## Documentation ```php $httpClient = HttpClientDiscovery::find(); StreamWrapper::enable($httpClient);

Please see the official documentation., (*8)

Testing

Then the test suite:, (*9)

bash $ composer test, (*10)

Contributing

Please see our contributing guide., (*11)

Security

If you discover any security related issues, please contact us at security@php-http.org., (*12)

License

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

The Versions

27/07 2016

dev-master

9999999-dev http://httplug.io

A stream wrapper that injects a HTTPlug client for streams

  Sources   Download

MIT

The Requires

 

The Development Requires

http stream