PHPackages                             php-console/laravel-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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. php-console/laravel-service-provider

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

php-console/laravel-service-provider
====================================

Laravel service provider to handle PHP errors, dump variables, execute PHP code remotely in Google Chrome

5.1(10y ago)7361.2k16[4 issues](https://github.com/barbushin/php-console-laravel/issues)1BSD 3-ClausePHPPHP &gt;=5.3.0

Since Jan 28Pushed 10y ago4 watchersCompare

[ Source](https://github.com/barbushin/php-console-laravel)[ Packagist](https://packagist.org/packages/php-console/laravel-service-provider)[ Docs](https://github.com/barbushin/php-console-laravel)[ RSS](/packages/php-console-laravel-service-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (1)

Laravel 4.\* service provider for PHP Console
---------------------------------------------

[](#laravel-4-service-provider-for-php-console)

See

Use `"php-console/laravel-service-provider": "1.*"` to install it using Compoer.

Laravel 5.\* service provider for PHP Console
---------------------------------------------

[](#laravel-5-service-provider-for-php-console)

PHP Console allows you to handle PHP errors &amp; exceptions, dump variables, execute PHP code remotely and many other things using [Google Chrome extension PHP Console](https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef) and [PhpConsole server library](https://github.com/barbushin/php-console).

This packages integrates [PHP Console server library](https://github.com/barbushin/php-console) with [Laravel framework](http://laravel.com) as configurable service provider.

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

[](#installation)

Require this package in Laravel project `composer.json` and run `composer update`

```
"php-console/laravel-service-provider": "~5.0"

```

After updating composer, add the service provider line at the begining of `providers` array in `/config/app.php`

```
'providers' => array(
	PhpConsole\Laravel\ServiceProvider::class,

```

Edit config
-----------

[](#edit-config)

PHP Console service provider config-file looks like this:

```
return array(
	'isEnabled' => true,
	'handleErrors' => true,
	'handleExceptions' => true,
	'sourcesBasePath' => base_path(),
	'registerHelper' => true,
	'serverEncoding' => null,
	'headersLimit' => null,
	'password' => null,
	'enableSslOnlyMode' => false,
	'ipMasks' => array(),
	'isEvalEnabled' => false,
	'dumperLevelLimit' => 5,
	'dumperItemsCountLimit' => 100,
	'dumperItemSizeLimit' => 5000,
	'dumperDumpSizeLimit' => 500000,
	'dumperDetectCallbacks' => true,
	'detectDumpTraceAndSource' => false,
);

```

See [PhpConsole\\Laravel\\ServiceProvider](/src/PhpConsole/Laravel/ServiceProvider.php) for detailed options description.

By default it's located in `/vendor/php-console/laravel-service-provider/src/config/phpconsole.php` and it's not recommended to be edited in this path because it will be overwritten on next `composer update`.

If you want to edit config you need to run

```
$ php artisan vendor:publish --provider="php-console/laravel-service-provider" --tag=config
$ php artisan vendor:publish

```

So config-file will be moved to `/config/phpconsole.php` and can be edited as you want and changes will not be lost after `composer update`.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.3% 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 ~129 days

Total

5

Last Release

3976d ago

Major Versions

1.2.1 → 5.02015-06-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/683352?v=4)[Sergey](/maintainers/barbushin)[@barbushin](https://github.com/barbushin)

---

Top Contributors

[![barbushin](https://avatars.githubusercontent.com/u/683352?v=4)](https://github.com/barbushin "barbushin (17 commits)")[![wemersonjanuario](https://avatars.githubusercontent.com/u/38724?v=4)](https://github.com/wemersonjanuario "wemersonjanuario (4 commits)")[![simonweil](https://avatars.githubusercontent.com/u/2317562?v=4)](https://github.com/simonweil "simonweil (1 commits)")

---

Tags

phplaraveldebugerrorserror-handlerchromegoogle chromephp-console

### Embed Badge

![Health badge](/badges/php-console-laravel-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/php-console-laravel-service-provider/health.svg)](https://phpackages.com/packages/php-console-laravel-service-provider)
```

###  Alternatives

[php-console/php-console

PHP library for Google Chrome extension "PHP Console".

1.3k2.9M41](/packages/php-console-php-console)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)

PHPackages © 2026

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