Removed obsolete RingCentral/Psr7 dependency#485
Conversation
|
I'm glad that you like it. With this code, I just showed that, in general, you can get rid of the old dependency and make your own internal implementation. If you are interested, just let me know and I will write an implementation with my own hands that will not violate any licenses. Regarding the tests, I do not quite agree: I only changed the base classes that the project classes inherit, but they are already completely covered by tests and there is no new functionality. Of course, if it is possible to wait for a new version of your project, then it is better to wait. Thank you for paying attention to my work. Always glad to take part and contribute to the development of great projects! |
|
one more thing I absolutely fully understand what I did in this code, because ringcentral/psr7 is actually a very old fork of the guzzle/psr7 Technically, I just updated it :) with NO breaking changes And last thing: |
I like your motivation 👍 @clue told me about his vision on how we can integrate this into ReactPHP's HTTP component, but I think we have to work out the details first and come up with a more solid plan for this. As I said above, we're currently busy with the ReactPHP v3 development, which I think will be a great foundation for a future PSR-7 implementation. Better support for PSRs is also one of our goals for ReactPHP v3.x as described in our plans for the upcoming major version, not sure how much of it will make it in time for the v3 release tho. |

ringcentral/psr7 hasn't been updated in over 5 years.
Need to keep up with the times.
None of the existing PSR7 implementations work on PHP >=5.3
So I collect code from the latest versions of guzzle/psr7 and nyholm/psr7 and made own local realization which can work on PHP 5.3 and upper.
This code passes all tests.
if you're interested, I can continue work on modifying any existing implementation enough to create your own React/Psr7 package.