PHPackages                             blackmesasl/silex-chromephp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. blackmesasl/silex-chromephp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

blackmesasl/silex-chromephp
===========================

Silex package to implement ChromePHP as ServiceProvider

0.1.0(12y ago)114MITPHP &gt;=5.3.0

Since Feb 8Pushed 12y ago3 watchersCompare

[ Source](https://github.com/blackmesasl/silex-chromephp)[ Packagist](https://packagist.org/packages/blackmesasl/silex-chromephp)[ Docs](http://github.com/blackmesasl/silex-chromephp)[ RSS](/packages/blackmesasl-silex-chromephp/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

\#SilexChromePhp

[![Latest Stable Version](https://camo.githubusercontent.com/7f10b6fbca805921958eba0b89d876b28ad0f12c57c999ecc08821bcf30e10ca/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b6d657361736c2f73696c65782d6368726f6d657068702f762f737461626c652e706e67)](https://packagist.org/packages/blackmesasl/silex-chromephp) [![Total Downloads](https://camo.githubusercontent.com/65f8ff9f885b809d8601f638c5001a2f0dee358bb0f396d741d0bf288db88144/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b6d657361736c2f73696c65782d6368726f6d657068702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/blackmesasl/silex-chromephp) [![Latest Unstable Version](https://camo.githubusercontent.com/01c9f295a603e2683e8ccf5761c28dea06b1de3c862fdc49ad520d8c82213e6b/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b6d657361736c2f73696c65782d6368726f6d657068702f762f756e737461626c652e706e67)](https://packagist.org/packages/blackmesasl/silex-chromephp) [![License](https://camo.githubusercontent.com/6f1bb5bf678c60129ee7db2d86763632defcc2441e1be2012fccb6ab1e50b4e8/68747470733a2f2f706f7365722e707567782e6f72672f626c61636b6d657361736c2f73696c65782d6368726f6d657068702f6c6963656e73652e706e67)](https://packagist.org/packages/blackmesasl/silex-chromephp)

SilexChromePhp is a wrapper around `ccampbell/chromephp` () library that allows to debug PHP applications with the Chrome Logger Google Chrome extension.

The ChromePhpServiceProvider easily integrate ChromePhp into Silex Micro Framework ()

\##Installation

\###SilexChromePhp and ChromePhp

Add `blackmesasl/silex-chromephp` to your dependencies.

Via command line:

`php composer.phar require "blackmesasl/silex-chromephp":"dev-master"`

or adding the following line to your `composer.json` file:

`"blackmesasl/silex-chromephp": "dev-master"`

and running `php composer.phar update`

\###Chrome Logger Extension

To be able to see the debug messages you send from your server side code you need to install the Chrome Logger Extension from the [Chrome Web Store](https://chrome.google.com/webstore/detail/chromephp/noaneddfkdjfnfdakjjmocngnfkfehhd).

Once you have the service provider on you Silex project and the extension installed on your Chrome Browser just enable the extension to start getting your debugging information on the *console* panel of the Developer Tools.

For more information take a look of [Chrome Logger website](http://www.chromelogger.com).

\##Usage

Import the namespace and register the ServiceProvider on your Silex application:

```
use Blackmesa\SilexChromePhp\Provider\ChromePhpServiceProvider;

$app->register(new ChromePhpServiceProvider());
```

Now you can access to `$app['chromephp']` object and call it's methods.

\###Available methods

- `info`
- `warn`
- `error`
- `log`
- `table`
- `group`
- `groupCollapsed`
- `groupEnd`

```
$app->get('/myroute', function() use ($app) {
    try
    {
        $app['chromephp']->info('Let\'s render the view!');
        return $app['twig']->render('mytemplate.html.twig');
    }
    catch(Exception $e)
    {
        $app['chromephp']->error($e);
        throw $e;
    }
    $app['chromephp']->warn('This is impossible!!!');
});
```

The ChromePhpServiceProvder make use of `$app['debug']` flag to decide whether or not to send de info to the browser.

\##See also

- [Silex Micro Framework](http://silex.sensiolabs.org)
- [Chrome Logger extension](http://www.chromelogger.com)
- [ChromePHP](https://github.com/ccampbell/chromephp)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

4477d ago

### Community

Maintainers

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

---

Top Contributors

[![SubniC](https://avatars.githubusercontent.com/u/1412498?v=4)](https://github.com/SubniC "SubniC (17 commits)")

---

Tags

silexserviceproviderchromephp

### Embed Badge

![Health badge](/badges/blackmesasl-silex-chromephp/health.svg)

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

###  Alternatives

[igorw/config-service-provider

A config ServiceProvider for Silex with support for php, json and yaml.

215636.5k13](/packages/igorw-config-service-provider)[sven/env-providers

Load Laravel service providers based on your application's environment.

769.7k](/packages/sven-env-providers)[franmomu/silex-pagerfanta-provider

Silex ServiceProvider for Pagerfanta Library

1312.1k](/packages/franmomu-silex-pagerfanta-provider)

PHPackages © 2026

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