PHPackages                             rebangm/silex-guzzlehttp-provider - 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. rebangm/silex-guzzlehttp-provider

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

rebangm/silex-guzzlehttp-provider
=================================

Guzzle http service provider for Silex

v2.0.0(9y ago)949.6k3MITPHPPHP &gt;=5.3.0

Since Jul 28Pushed 9y ago3 watchersCompare

[ Source](https://github.com/rebangm/silex-guzzlehttp-provider)[ Packagist](https://packagist.org/packages/rebangm/silex-guzzlehttp-provider)[ Docs](https://github.com/rebangm/silex-Guzzlehttp-provider)[ RSS](/packages/rebangm-silex-guzzlehttp-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (7)Used By (0)

Silex-Guzzle
============

[](#silex-guzzle)

[![Latest Stable Version](https://camo.githubusercontent.com/3f1b70e57e9fc75a255625bb2b206adedffd996e226fddbb3915c0f9f1de2333/68747470733a2f2f706f7365722e707567782e6f72672f726562616e676d2f73696c65782d67757a7a6c65687474702d70726f76696465722f762f737461626c65)](https://packagist.org/packages/rebangm/silex-guzzlehttp-provider)[![Build Status](https://camo.githubusercontent.com/d3411e35ebda3a962dd9af38438c7d64321efb7d54d9a9aad29044f21a7c18a4/68747470733a2f2f6170692e7472617669732d63692e6f72672f726562616e676d2f73696c65782d67757a7a6c65687474702d70726f76696465722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/rebangm/silex-guzzlehttp-provider)[![codecov.io](https://camo.githubusercontent.com/6bf6b2764b9c80dfc67890566eb92659ec71f6f6437040242824b0b33a5fc8bb/687474703a2f2f636f6465636f762e696f2f6769746875622f726562616e676d2f73696c65782d67757a7a6c65687474702d70726f76696465722f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/rebangm/silex-guzzlehttp-provider?branch=master)

Installation
------------

[](#installation)

Create a composer.json in your projects root-directory::

```
{
    "require": {
        "rebangm/silex-guzzlehttp-provider": "*"
    }
}

```

and run::

```
curl -s http://getcomposer.org/installer | php
php composer.phar install

```

Getting started
---------------

[](#getting-started)

Supposing that the skeleton of your application is ready, you simply need to register this service provider by specifying the parameters and options needed to access Guzzle:

This will register one instance of Guzzle\\Client accessible from anywhere in your application by using $app\['guzzle'\]. all parameters are optional and they accept the same values accepted by the constructor of Guzzle\\Client (see the documentation of Guzzle).

```
    $app->register(new SilexGuzzle\GuzzleServiceProvider(),array(
        'guzzle.base_uri' => "http://httpbin.com/",
        'guzzle.timeout' => 3.14,
        'guzzle.request_options' =>
            ['auth' => ['admin', 'admin']]
    ));
```

You can find more details on how to use this provider in the examples directory or the test suite.

Reporting bugs and contributing code

Contributions are highly appreciated either in the form of pull requests for new features, bug fixes or just bug reports. We only ask you to adhere to a basic [basic set of rules](CONTRIBUTING.md) before submitting your changes or filing bugs on the issue tracker to make it easier for everyone to stay consistent while working on the project.

### Project links

[](#project-links)

- [Source code](http://github.com/rebangm/silex-guzzlehttp-provider)
- [Issue tracker](http://github.com/rebangm/silex-guzzlehttp-provider/issues)

### Author

[](#author)

- [Jean-Philippe Dépigny](mailto:jp.depigny@gmail.com)([github](http://github.com/rebangm)) ([twitter](https://twitter.com/rhadamanthiss))

License
-------

[](#license)

'silex-guzzlehttp-provider' is licensed under the MIT license. [![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/rebangm/silex-guzzlehttp-provider/master/LICENSE.md)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

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 ~91 days

Recently: every ~113 days

Total

6

Last Release

3483d ago

Major Versions

v1.3.1 → v2.0.02016-10-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/751e8affa7d14b2589080b8cbdfb5b34c151b47c0d7713e9763f5ac765250395?d=identicon)[rebangm](/maintainers/rebangm)

---

Top Contributors

[![rebangm](https://avatars.githubusercontent.com/u/1638136?v=4)](https://github.com/rebangm "rebangm (43 commits)")

---

Tags

guzzlehttpprovidersilex

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rebangm-silex-guzzlehttp-provider/health.svg)

```
[![Health](https://phpackages.com/badges/rebangm-silex-guzzlehttp-provider/health.svg)](https://phpackages.com/packages/rebangm-silex-guzzlehttp-provider)
```

###  Alternatives

[jdesrosiers/silex-cors-provider

A silex service provider that adds CORS services to silex

83892.3k10](/packages/jdesrosiers-silex-cors-provider)[graze/guzzle-jsonrpc

JSON-RPC 2.0 client for Guzzle

981.2M24](/packages/graze-guzzle-jsonrpc)

PHPackages © 2026

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