Skip to content

Update dependencies, use Laminas Diactoros, ~update signature for Encoder::_doRequest and Decoder::_doRequest~ #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kiike
Copy link

@kiike kiike commented Mar 27, 2025

First, thank you so much for ReactPHP and ReactPHP-Soap! I am using both in a small project and bring a very nice improvement in performance.

I noticed that:

  • the dependencies for this project are a bit old. For instance, the blocking library is deprectaed in favour or React/Async
  • plus there's an undocumented dependency on the RingCentral's PSR7 library

I went ahead and tried to address these observations:

  • updating dependencies,
  • moving from RingCentral's PSR7 library to Laminas Diactoros, which is maintained at the moment
  • moved from usage of '\Clue\React\Block' to 'Async\Await'

Looking forward to your feedback!

EDIT: Since promises aims to support older PHP versions, I am dropping the _doRequest signature update to not break compatibility with PHP<8.0

@kiike kiike force-pushed the chore/update_deps branch from 2c87600 to 1f64b79 Compare March 27, 2025 20:22
@kiike kiike force-pushed the chore/update_deps branch from 1f64b79 to 77ab32b Compare March 31, 2025 13:51
@kiike kiike changed the title Update dependencies, use Laminas Diactoros, update signature for Encoder::_doRequest and Decoder::_doRequest Update dependencies, use Laminas Diactoros, ~update signature for Encoder::_doRequest and Decoder::_doRequest~ Mar 31, 2025
@kiike kiike force-pushed the chore/update_deps branch 3 times, most recently from c0da8c0 to bb2b894 Compare March 31, 2025 14:05
@kiike kiike force-pushed the chore/update_deps branch from bb2b894 to e1c778d Compare March 31, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant