PHPackages                             ideasoft/batch-request-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ideasoft/batch-request-client

ActiveLibrary[API Development](/categories/api)

ideasoft/batch-request-client
=============================

Batch request client implementation for php.

0.1.1(9y ago)2317.1k↓50%3MITPHP

Since Dec 21Pushed 8y ago2 watchersCompare

[ Source](https://github.com/IdeasoftLabs/http-batch-client)[ Packagist](https://packagist.org/packages/ideasoft/batch-request-client)[ RSS](/packages/ideasoft-batch-request-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

http-batch-client [![Build Status](https://camo.githubusercontent.com/69741b41d224fe5e73540a1755c843475d3342e2885dfdc34f9c6638e5f3b6f9/68747470733a2f2f7472617669732d63692e6f72672f49646561736f66744c6162732f687474702d62617463682d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/IdeasoftLabs/http-batch-client)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#http-batch-client-)

http-batch-client allows to combine multiple http requests into a single batch request. This tool is useful for decrease http requests especially for api endpoints.

About multipart/batch
---------------------

[](#about-multipartbatch)

Http multipart/batch is a format for packaging multiple HTTP requests in a single request. You can read this draft more info:

### Installing http-batch-client

[](#installing-http-batch-client)

The easiest way to install http-batch-client is through composer.

```
composer require ideasoft/batch-request-client
```

Important Note:
---------------

[](#important-note)

This is only a client implementation. Your api service should supports batch request. If you are using Symfony 2.8+, you can use  for server implementation.

How to use http-batch-client
----------------------------

[](#how-to-use-http-batch-client)

You can create a batch request client and send your requests to batch endpoint and use it via client.

```
