The HTTP package includes a PSR-18 compatible HTTP client to facilitate RESTful HTTP requests over a variety of transport protocols.
- PHP 7.0 or later
To install the package, you can simply run the following from the command line:
composer require joomla/http "~2.0"
If you want to include the test sources, use
composer require --prefer-source joomla/http "~2.0"