PHPackages                             overblog/wsclient-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. [API Development](/categories/api)
4. /
5. overblog/wsclient-bundle

ActiveLibrary[API Development](/categories/api)

overblog/wsclient-bundle
========================

Web Service Client

v0.6(10y ago)116.8kPHPPHP &gt;=5.3.0

Since Oct 29Pushed 3y ago24 watchersCompare

[ Source](https://github.com/overblog/WsClientBundle)[ Packagist](https://packagist.org/packages/overblog/wsclient-bundle)[ Docs](https://github.com/overblog/WsClientBundle)[ RSS](/packages/overblog-wsclient-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (9)Used By (0)

OverBlog NG Ws Client
=====================

[](#overblog-ng-ws-client)

What is this repository ?
-------------------------

[](#what-is-this-repository-)

It's the place for the Web Service client library. Essentially to use with External Rest service and JSON-RCP (Internal API).

Installation and setup
----------------------

[](#installation-and-setup)

Juste add the following lines is your deps file:

```
[OverblogWsClientBundle]
    git=git@github.com:ebuzzing/OverblogWsClientBundle.git
    target=/bundles/Overblog/WsClientBundle
    version=v0.4

```

You have now to tell Symfony2 autoloader where to find the API and the files that will be generated. Fire up your text editor and add the following lines to the *app/autoload.php* file:

```
#app/autoload.php

    'Overblog'         => __DIR__.'/../vendor/bundles',

```

Let's register the WsClientBundle in the application kernel:

```
#app/AppKernel.php
    // register your bundles
    new Overblog\WsClientBundle\OverblogWsClientBundle(),

```

You can now define your service settings in your main configuration file. The example below uses the yaml format:

```
# app/config/config.yml
overblog_ws_client:
    urls:
        *cnct_name*:
          url: http://api.domain.tld/
          type: rest
          timeout: 2000
        *cnct_name_2*:
          url: http://api.domain.tld/json-rpc/user
          type: json

```

The *cnct\_name* here is a name for your service. You can define several services using different names on different web service...

Usage
-----

[](#usage)

Use the ws client is very simple. A simple Rest call look like this:

```
$results = $this->get('ws_client')
            ->getConnection('*cnct_name*')
                ->get('/ws/uri')
            ->exec();

```

You can call together several services by chaining call like this:

```
$results = $this->get('ws_client')
            ->getConnection('*cnct_name_2*')
                ->get('getMethod', array('param' => 'value'))
                ->get('setMethod', array('param' => 'value'))
            ->getConnection('*cnct_name*')
                ->get('/ws/uri')
            ->exec();

```

The execution time call will be the longuest call.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~199 days

Recently: every ~295 days

Total

7

Last Release

3755d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7067603?v=4)[Webedia - Overblog](/maintainers/Overblog)[@overblog](https://github.com/overblog)

---

Top Contributors

[![mcg-web](https://avatars.githubusercontent.com/u/1496283?v=4)](https://github.com/mcg-web "mcg-web (3 commits)")[![barduck007](https://avatars.githubusercontent.com/u/2427613?v=4)](https://github.com/barduck007 "barduck007 (1 commits)")

### Embed Badge

![Health badge](/badges/overblog-wsclient-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/overblog-wsclient-bundle/health.svg)](https://phpackages.com/packages/overblog-wsclient-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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