php-http/utils

This package is abandoned and no longer maintained. The author suggests using the php-http/client-common package instead.

HTTP Client utilities for HTTPlug

v0.2.1 2015-12-17 21:14 UTC

This package is not auto-updated.

Last update: 2019-12-29 11:00:26 UTC


README

Moved to php-http/client-common

HTTP Client utilities

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

HTTP Client utilities.

Install

Via Composer

$ composer require php-http/utils

Contents

The utilities are useful classes for users of HTTPlug and the php-http/message-factory library.

  • HttpMethodsClient - Client decorator that provides convenience methods for HTTP requests without the need of acquiring a PSR-7 RequestInterface;
  • BatchClient - Client decorator to send a list of requests in one call;
  • Factory implementations for Guzzle6 and Diactoros.

Documentation

Please see the official documentation.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please contact us at security@httplug.io or security@php-http.org.

License

The MIT License (MIT). Please see License File for more information.