Skip to content

Small demo showing how to use PSR's to create an http client independent api client

License

Notifications You must be signed in to change notification settings

alexanderschnitzler/psr-http-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSR HTTP Demo

This demo shows how to implement an api client based on PSR-7 (RequestInterface/ResponseInterface), PSR-17 (RequestFactoryInterface, ResponseFactoryInterface) and PSR-18 (ClientInterface).

When relying solely on PSR's, the user is free to choose whatever http client he/she wants. For example, symfony/http, guzzlehttp/guzzle or similar. The only requirement is that those http clients support the PSR's either natively or via adapters.

About

Small demo showing how to use PSR's to create an http client independent api client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages