mingalevme/psr-http-client-stubs

Some simple PSR HTTP Client helpful stubs and decorators for testing purposes.

2.0.4 2023-01-09 16:31 UTC

This package is auto-updated.

Last update: 2024-12-09 21:25:45 UTC


README

quality codecov version license

Some simple PSR HTTP Client helpful stubs and decorators for testing purposes.

Stubs:

  • QueuePsrHttpClientTest
  • StaticResponseMapPsrHttpClientTest
  • StaticResponsePsrHttpClient
  • NullPsrHttpClient

Decorators:

  • HistoryPsrHttpClientDecorator

Code quality:

  • 100% code coverage
  • Psalm at max level
  • PHPStan at max level
  • PHP CS Fixer

See tests for examples.