php-http / utils

[DEPRECATED] HTTP Client Utilities
http://httplug.io
MIT License
2 stars 8 forks source link

Update composer.json #21

Closed Swader closed 8 years ago

Swader commented 8 years ago

Installation fails because 0.4 does not exist. Changing to "0.3 and above" fixes things, as it installs 0.3 while 1.0 is still in pre-release status. Alternatively, we could set minimum stability to dev, and then require "^1.0" of message-factory, but seeing as that's not ready yet, I think going lower is better for now, so at least current implementations will continue to work.

dbu commented 8 years ago

thanks. i agree with this (if things work with 0.3 there is no reason to require 0.4 minimum).

for the test failure: please add php-http/promise ^0.1.0 to require-dev. we do tests with the async client and thus need promises. we recently split that out from the main httplug repository. (in anticipation of one day having a PSR for promises and then removing our solution)

sagikazarmark commented 8 years ago

thanks. i agree with this (if things work with 0.3 there is no reason to require 0.4 minimum).

Should directly be updated 1.0 (which I plan to release today)

for the test failure: please add php-http/promise ^0.1.0 to require-dev.

That should be required by httplug 1.0.0-alpha3.