/utils

[DEPRECATED] HTTP Client Utilities

Primary LanguagePHPMIT LicenseMIT

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.