Skip to content

einar-hansen/http-client-factory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Client Factory

Latest Version on Packagist Total Downloads

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.

Installation

composer require einar-hansen/http-client-factory

Testing

# 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

License

The MIT License (MIT).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages