PHPackages                             xmarcos/carbon-client-service-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. xmarcos/carbon-client-service-provider

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

xmarcos/carbon-client-service-provider
======================================

A Silex Service Provider for Carbon (Graphite's backend)

0.2.0(11y ago)34.4k3MITPHP

Since Jan 7Pushed 11y agoCompare

[ Source](https://github.com/xmarcos/CarbonClientServiceProvider)[ Packagist](https://packagist.org/packages/xmarcos/carbon-client-service-provider)[ RSS](/packages/xmarcos-carbon-client-service-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

CarbonClientServiceProvider
===========================

[](#carbonclientserviceprovider)

[![Build Status](https://camo.githubusercontent.com/66610954e20b0c7c7e1c127added571637873fd3bb6c31f6640427a36124bc29/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f786d6172636f732f436172626f6e436c69656e745365727669636550726f76696465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/xmarcos/CarbonClientServiceProvider)[![Coverage Status](https://camo.githubusercontent.com/b2421503be77069533741d11656d5fce830cc7f043a65b09a73ca16642895adb/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f786d6172636f732f436172626f6e436c69656e745365727669636550726f76696465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/xmarcos/CarbonClientServiceProvider/code-structure)[![Quality Score](https://camo.githubusercontent.com/9e590351abdc53cc3d89fab02431cc048ecc9dcc4c8af6c83eb79e5b72a76be2/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f786d6172636f732f436172626f6e436c69656e745365727669636550726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/xmarcos/CarbonClientServiceProvider)[![Latest Version](https://camo.githubusercontent.com/7266b4dc6ccf6fb1e2785ed3a614d6f63e8b5b08ec165035c133b4cdec2a14c7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f786d6172636f732f636172626f6e2d636c69656e742d736572766963652d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xmarcos/carbon-client-service-provider)[![Software License](https://camo.githubusercontent.com/57943133a5b321555c648ee8c4351ad89413129c64df003a3ede52d3f407b3bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f786d6172636f732f636172626f6e2d636c69656e742d736572766963652d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/4bae1b54f0f9c3a8894a43b3642ec4224997396d8072c5ef39199536494320ab/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f786d6172636f732f636172626f6e2d636c69656e742d736572766963652d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xmarcos/carbon-client-service-provider)[![SensioLabsInsight](https://camo.githubusercontent.com/499f762c92abac88dbf5708668468a0ef86b79f86e30fa2a12df4377a01fb366/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64616661353433642d316234342d343631392d383432312d3163386330626639363032382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/dafa543d-1b44-4619-8421-1c8c0bf96028)

A [Silex](https://github.com/silexphp/Silex) Service Provider for the [Carbon (Graphite's backend) Client](https://github.com/xmarcos/CarbonClient).

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

[](#installation)

```
{
    "require": {
        "xmarcos/carbon-client-service-provider": "dev-master"
    }
}
```

Usage
-----

[](#usage)

```
use Silex\Application;
use xmarcos\Silex\CarbonClientServiceProvider

$app = new Application();
$app->register(new CarbonClientServiceProvider('carbon'), [
    'carbon.params' => [
        'host'      => '127.0.0.1',
        'port'      => 2003,
        'transport' => 'udp',
        'namespace' => 'some.metric.namespace'
    ]
]);

$app['carbon']->send('some.metric', 1);
```

License
-------

[](#license)

MIT License

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

4143d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8eedf0db3a38d9f69525612acd4a4c9331f422ce13cb5edf3104f47fadb3221?d=identicon)[xmarcos](/maintainers/xmarcos)

---

Top Contributors

[![xmarcos](https://avatars.githubusercontent.com/u/58319?v=4)](https://github.com/xmarcos "xmarcos (6 commits)")

---

Tags

carbongraphitesilexlogMetricsprovidercarbonsilexgraphite

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xmarcos-carbon-client-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/xmarcos-carbon-client-service-provider/health.svg)](https://phpackages.com/packages/xmarcos-carbon-client-service-provider)
```

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k964.9M7.0k](/packages/monolog-monolog)[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[symfony/monolog-bundle

Symfony MonologBundle

2.9k249.1M1.6k](/packages/symfony-monolog-bundle)[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k227.1M273](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)

PHPackages © 2026

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