jenssegers / php-proxy

A PHP proxy script with https and post support
https://jenssegers.com
933 stars 266 forks source link

Current demo code requires more libraries #51

Closed halfer closed 7 years ago

halfer commented 7 years ago

The demo code for the current unstable version in the README does not work without an extra class library, Zend\Diactoros\ServerRequestFactory. Is it OK to send a PR to fix up the docs?

It just needs something like this in the appropriate place:

composer require zendframework/zend-diactoros
jenssegers commented 7 years ago

The composer file has "zendframework/zend-diactoros": "^1.0", though.

halfer commented 7 years ago

Ah! I didn't spot that, thanks. I installed via Composer, and that gave me the current stable version, which does not include that.