Release 1.0
Closed this issue · 16 comments
- Allow http client injection into contexts (#4)
- Provide Guzzle support
- Provide Symfony support
- Provide Buzz support (#7)
-
Provide Simple cache support - Allow http client configuration via behat.yml (#6)
-
Provide a RestContext with a basic set of steps - Provide a Debug listener printing out requests and responses after a failed step (#8)
- Provide support for response matchers with default https://github.com/coduo/php-matcher implementation
- Support several httplug plugins (#12)
@jakzal yes it sounds good to me!
@jakzal pretty cool!
I'm looking for a tool to distribute in API Platform (https://github.com/dunglas/api-platform)
The more important points for me are:
- Provide Symfony support (can be done with the PSR-7 bridge: supporting only PSR-7 internally will already provide compatibility with Guzzle, ZF 3 and Symfony out of the box)
- Provide a RestContext with a basic set of steps (can help on that one)
- Provide support for response matchers with default
If you're interested in, I'll also be pleased to provide:
- JSON-LD support (maybe php-matcher will be sufficient)
- JWT authentication support
Thanks for feedback! Most of these things already existed in the proof of concept, or other projects I've worked on, so it should be easy to port them over. I'll always start with a feature description, so that you guys can either give feedback, or help writing code.
JSON-LD and JWT sound like something for >1.0 release :)
What about relying on egeloen/http-adapter if you want to provide support for both Guzzle and Buzz?
Also interested in, great initiative! Can't wait for a true API context !!
@xabbuh I think the egeloen/http-adapter project is not stable yet. I'll reconsider when it matures.
@theofidry yes. End of October/beginning of November.
Unfortunately this is moving towards end of the year :/
Fortunately the same goes for me ;)
@jakzal egeloen/http-adapter is no released with 1.0. But as it is deprecated I suggest to wait until php-http/httplug is released.
@xabbuh I have developed something similar :) obviously it's better if I can avoid maintaining it myself. Thanks for the link!
@jakzal Too bad, I should have told you about that project earlier but then forgot about it.
Just FYI, version 1.0.0 of php-http/httplug has been released.