PHPackages                             mi-la01/kt\_guzzle-silex - 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. mi-la01/kt\_guzzle-silex

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

mi-la01/kt\_guzzle-silex
========================

Guzzle3 silex provider (kt)

1.0.1(10y ago)07PHPPHP &gt;=5.3.2

Since Feb 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/MI-LA01/kt_guzzle-silex)[ Packagist](https://packagist.org/packages/mi-la01/kt_guzzle-silex)[ RSS](/packages/mi-la01-kt-guzzle-silex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

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://guzzlephp.org/tour/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://guzzlephp.org/tour/using_services.html#instantiating-web-service-clients-using-a-servicebuilder) 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity59

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

Every ~873 days

Total

2

Last Release

3968d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fe9c321f17f1d6943fe433efda924bc29eaef8a7c8c8a98282d8f9a9dfa4e32f?d=identicon)[mi-la01](/maintainers/mi-la01)

---

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)")[![alexis-gruet](https://avatars.githubusercontent.com/u/18398866?v=4)](https://github.com/alexis-gruet "alexis-gruet (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)")[![gapple](https://avatars.githubusercontent.com/u/458809?v=4)](https://github.com/gapple "gapple (1 commits)")[![franmomu](https://avatars.githubusercontent.com/u/720690?v=4)](https://github.com/franmomu "franmomu (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/mi-la01-kt-guzzle-silex/health.svg)

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

###  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)
