PHPackages                             innmind/rest-client-bundle - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. innmind/rest-client-bundle

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

innmind/rest-client-bundle
==========================

Library to consume REST APIs

4.0.0(8y ago)0167MITPHPPHP ~7.1

Since Nov 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Innmind/RestClientBundle)[ Packagist](https://packagist.org/packages/innmind/rest-client-bundle)[ Docs](http://github.com/Innmind/RestClientBundle)[ RSS](/packages/innmind-rest-client-bundle/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelogDependencies (7)Versions (9)Used By (0)

REST Client Bundle
==================

[](#rest-client-bundle)

`master``develop`[![Scrutinizer Code Quality](https://camo.githubusercontent.com/69e4da600a38e8f792040e40bc9bdb2d73edd2d59b283c6602cfb1b4c81094b5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f52657374436c69656e7442756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Innmind/RestClientBundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ebf688d5c9005e916eb70feb7cc718d2826e32407a19457faa8fbcf9304018a0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f52657374436c69656e7442756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/Innmind/RestClientBundle/?branch=develop)[![Code Coverage](https://camo.githubusercontent.com/b5e9564b38b338f9f00b3a1e0f894a82e7609eed5f80ea09f56f47696508300a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f52657374436c69656e7442756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Innmind/RestClientBundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/94c1ccc5cb16f7c90c15572556363932b7752d4f4842b4465910192be7a5b599/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f52657374436c69656e7442756e646c652f6261646765732f636f7665726167652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/Innmind/RestClientBundle/?branch=develop)[![Build Status](https://camo.githubusercontent.com/98c5819016b0781c2081b26e666e11e45189525d028812d9b89bd856d6a6830b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f52657374436c69656e7442756e646c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Innmind/RestClientBundle/build-status/master)[![Build Status](https://camo.githubusercontent.com/78b4d657c9bc2c4ae598cfeb19eadee6791f6ea82092d201d48945e4c13808c6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f52657374436c69656e7442756e646c652f6261646765732f6275696c642e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/Innmind/RestClientBundle/build-status/develop)Installation
------------

[](#installation)

```
composer require innmind/rest-client-bundle
```

Enable the bundle by adding the following line in your app/AppKernel.php of your project:

```
// app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Innmind\Rest\ClientBundle\InnmindRestClientBundle,
        );
        // ...
    }
    // ...
}
```

Then you need to specify the types you allow in the app, here's an example:

```
innmind_rest_client:
    content_type:
        json:
            priority: 0
            media_types:
                application/json: 0
```

Usage
-----

[](#usage)

```
$container
    ->get('innmind_rest_client')
    ->server('http://example.com/')
    ->capabilities()
    ->names();
```

This example would return all the resource available through the api of `http://example.com/`.

Then you can access the following method on any server: `all`, `read`, `create`, `update` and `remove`. Check the [interface](https://github.com/Innmind/rest-client/blob/master/src/ServerInterface.php) to understand how to use these methods.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~52 days

Total

7

Last Release

3143d ago

Major Versions

1.0.0 → 2.0.02017-02-19

2.3.0 → 3.0.02017-03-19

3.0.0 → 4.0.02017-10-06

PHP version history (2 changes)1.0.0PHP ~7.0

2.0.0PHP ~7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/851425?v=4)[Baptiste Langlade](/maintainers/Baptouuuu)[@Baptouuuu](https://github.com/Baptouuuu)

---

Top Contributors

[![Baptouuuu](https://avatars.githubusercontent.com/u/851425?v=4)](https://github.com/Baptouuuu "Baptouuuu (27 commits)")

---

Tags

apiclientrest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/innmind-rest-client-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/innmind-rest-client-bundle/health.svg)](https://phpackages.com/packages/innmind-rest-client-bundle)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)[tilleuls/forgot-password-bundle

Provides a 'forgot password' feature for a REST API

84540.5k1](/packages/tilleuls-forgot-password-bundle)[api-platform/state

API Platform state interfaces

223.4M57](/packages/api-platform-state)[cypresslab/patch-manager

A library to manage patch requests

16117.4k](/packages/cypresslab-patch-manager)[xabbuh/panda-bundle

integration of the Panda encoding services into the Symfony2 Framework

10174.6k](/packages/xabbuh-panda-bundle)[bilyiv/request-data-bundle

Represents request data in a structured and useful way.

202.6k](/packages/bilyiv-request-data-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
