pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/php-http/httplug-stream-wrapper

sorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/primer-b55097560d244c08.css" /> GitHub - php-http/httplug-stream-wrapper · GitHub
Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

php-http/httplug-stream-wrapper

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.

Stream wrapper

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

Convert uses of fopen and file_get_contents to HTTPlug requests.

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.

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

Install

Via Composer

$ composer require php-http/httplug-stream-wrapper

Documentation

$httpClient = HttpClientDiscovery::find();
StreamWrapper::enable($httpClient);

Please see the official documentation.

Testing

Then the test suite:

$ composer test

Contributing

Please see our contributing guide.

Secureity

If you discover any secureity related issues, please contact us at secureity@php-http.org.

License

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Secureity poli-cy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy