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

AbandonedSilex-provider[HTTP &amp; Networking](/categories/http)

guzzle/silex-provider
=====================

Guzzle silex provider

v1.0.0(13y ago)3166.3k↓50%131PHPPHP &gt;=5.3.2

Since Feb 13Pushed 11y ago1 watchersCompare

[ Source](https://github.com/Guzzle3/guzzle-silex-extension)[ Packagist](https://packagist.org/packages/guzzle/silex-provider)[ RSS](/packages/guzzle-silex-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

THIS PROJECT IS DEPRECATED
==========================

[](#this-project-is-deprecated)

This project is no longer maintained and has not been updated to work with Guzzle 5. If someone wishes to use Guzzle via a provider with Silex, then I suggest creating a new repo called something like `guzzle-silex-provider`, and I'll link to it from here.

Guzzle Silex Service Provider
=============================

[](#guzzle-silex-service-provider)

The GuzzleServiceProvider provides a Guzzle ServiceBuilder and default Client object through Michael Dowling’s Guzzle framework. Guzzle is a PHP HTTP client and framework for building RESTful web service clients.

You will need to [install a copy of Guzzle](http://guzzle3.readthedocs.org/en/latest/getting-started/installation.html) in order to use this service provider.

Parameters
----------

[](#parameters)

- guzzle.services: (optional) array|string|SimpleXMLElement Data describing your web service clients. You can pass the path to a file (.js|.json|.php), an array of data, or an instantiated SimpleXMLElement containing configuration data. See the [Guzzle docs](http://guzzle3.readthedocs.org/en/latest/webservice-client/using-the-service-builder.html) for more info.
- guzzle.base\_url: (optional) The base url for the default web service client. When left out, the actual calls made must use absolute URLs.
- guzzle.plugins: (optional) An array of guzzle plugins to register with the client.

Services
--------

[](#services)

- guzzle: An instantiated Guzzle ServiceBuilder.
- guzzle.client: A default Guzzle web service client using the base URL.

Registering
-----------

[](#registering)

```
require __DIR__ . '/../silex.phar';
require __DIR__ . '/../vendor/Guzzle/GuzzleServiceProvider.php';

use Silex\Application;
use Guzzle\GuzzleServiceProvider;

$app = new Application();

$app->register(new GuzzleServiceProvider(), array(
    'guzzle.services' => '/path/to/services.json',
));

```

Example Usage
-------------

[](#example-usage)

Using the instantiated ServiceBuilder:

```
// Get a command "foo" from "my_client"
$result = $app['guzzle']['my_client']->getCommand('foo');
$result = $foo->execute();

```

Using the Guzzle client:

```
$response = $app['guzzle.client']->head('http://www.guzzlephp.org')->send();

```

More information
----------------

[](#more-information)

More information about Guzzle ServiceBuilders can be found at

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

4833d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/190930?v=4)[Michael Dowling](/maintainers/mtdowling)[@mtdowling](https://github.com/mtdowling)

---

Top Contributors

[![mtdowling](https://avatars.githubusercontent.com/u/190930?v=4)](https://github.com/mtdowling "mtdowling (17 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (8 commits)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (2 commits)")[![jjungnickel](https://avatars.githubusercontent.com/u/160383?v=4)](https://github.com/jjungnickel "jjungnickel (2 commits)")[![lightglitch](https://avatars.githubusercontent.com/u/196953?v=4)](https://github.com/lightglitch "lightglitch (2 commits)")[![logocomune](https://avatars.githubusercontent.com/u/1417145?v=4)](https://github.com/logocomune "logocomune (1 commits)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (1 commits)")[![gapple](https://avatars.githubusercontent.com/u/458809?v=4)](https://github.com/gapple "gapple (1 commits)")[![darklow](https://avatars.githubusercontent.com/u/445304?v=4)](https://github.com/darklow "darklow (1 commits)")

---

Tags

Guzzlesilex

### Embed Badge

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

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

###  Alternatives

[bradfeehan/desk-php

PHP client for Desk.com v2 API based on Guzzle

2181.4k](/packages/bradfeehan-desk-php)[cossou/trak-io-api-client

PHP Trak.io Api Client built on Guzzle

204.0k](/packages/cossou-trak-io-api-client)

PHPackages © 2026

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