pact-foundation / pact-php

PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
273 stars 92 forks source link

refactor: Replace Slim Framework by Framework X #673

Closed tienvx closed 1 month ago

tienvx commented 1 month ago

Try to fix these issues:

Slim Framework + PHP Built-in web server -> slow

The web server runs only one single-threaded process, so PHP applications will stall if a request is blocked.

Framework X + ReactPHP -> faster 2x -> 4x

Supports async and non-blocking execution for maximum performance

Another option is AMPHP, but it's a bit slower, and the syntax is not similar to Slim Framework than Framework X

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 11120311314

Details


Totals Coverage Status
Change from base Build 11118184962: 0.0%
Covered Lines: 2586
Relevant Lines: 2697

💛 - Coveralls
tienvx commented 1 month ago

Tested with:

tienvx commented 1 month ago

Indirectly related to #260