Dependencies

This package is intentionally small, so understanding its dependencies is the best way to understand the package itself.

Direct Runtime Dependencies

Package Kind Why it exists here
PHP Runtime The package targets PHP 8.3 and newer.
fast-forward/container FastForward runtime dependency Supplies container integration and the factory helper classes used by the provider.
psr/http-client Standard interface package Defines Psr\Http\Client\ClientInterface .
psr/http-factory Standard interface package Defines the PSR-17 factory interfaces consumed by Psr18Client .
symfony/http-client Transport implementation Provides HttpClient and Psr18Client .

Relevant Standards

  • PSR-18 defines the client contract exposed by this package.
  • PSR-17 defines the factory interfaces that the registered Psr18Client expects from the container.
  • PSR-11 defines the container contract most users interact with after registration.

Runtime Note About Symfony

Symfony's HttpClient::create() chooses the best available client at runtime. Depending on your environment, that may be a Curl, Amp, or Native client. This package does not force one transport implementation; it delegates that decision to Symfony.