This repository holds the interface for new http factories that return a PSR-18 (HTTP Client) client.
Note that this is not a HTTP Client Factory implementation. For an example, checkout the Guzzle Client Factory
The installable package and dependents are listed on Packagist.
composer require einar-hansen/http-client-factory
# Install packages
docker run --rm --interactive --tty --volume $(pwd):/app composer install
# Run code style formatting and static analysis
docker run -it -v $(pwd):/app -w /app php:8.1-alpine vendor/bin/pint
docker run -it -v $(pwd):/app -w /app php:8.1-alpine vendor/bin/phpstan --level=9 analyse src
The MIT License (MIT).