2017 © Pedro Peláez
 

library laravel-service-provider

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

image

php-console/laravel-service-provider

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

  • Tuesday, June 30, 2015
  • by barbushin
  • Repository
  • 6 Watchers
  • 63 Stars
  • 39,769 Installations
  • PHP
  • 3 Dependents
  • 1 Suggesters
  • 19 Forks
  • 3 Open issues
  • 6 Versions
  • 3 % Grown

The README.md

Laravel 4.* service provider for PHP Console

See https://github.com/barbushin/php-console-laravel/releases/tag/1.2.1, (*1)

Use "php-console/laravel-service-provider": "1.*" to install it using Compoer., (*2)

Laravel 5.* service provider for PHP Console

PHP Console allows you to handle PHP errors & exceptions, dump variables, execute PHP code remotely and many other things using Google Chrome extension PHP Console and PhpConsole server library., (*3)

This packages integrates PHP Console server library with Laravel framework as configurable service provider., (*4)

Installation

Require this package in Laravel project composer.json and run composer update, (*5)

"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, (*6)

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

Edit config

PHP Console service provider config-file looks like this:, (*7)

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 for detailed options description., (*8)

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., (*9)

If you want to edit config you need to run, (*10)

$ 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., (*11)

The Versions

30/06 2015

dev-master

9999999-dev https://github.com/barbushin/php-console-laravel

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

  Sources   Download

BSD 3-Clause

The Requires

 

laravel debug php errors error handler chrome php-console google chrome

30/06 2015

5.1

5.1.0.0 https://github.com/barbushin/php-console-laravel

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

  Sources   Download

BSD 3-Clause

The Requires

 

laravel debug php errors error handler chrome php-console google chrome

22/06 2015

5.0

5.0.0.0 https://github.com/barbushin/php-console-laravel

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

  Sources   Download

BSD 3-Clause

The Requires

 

laravel debug php errors error handler chrome php-console google chrome

06/06 2014

1.2.1

1.2.1.0 https://github.com/barbushin/php-console-laravel

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

  Sources   Download

BSD 3-Clause

The Requires

 

laravel debug php errors error handler chrome php-console google chrome

01/02 2014

1.2

1.2.0.0 https://github.com/barbushin/php-console-laravel

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

  Sources   Download

BSD 3-Clause

The Requires

 

laravel debug php errors error handler chrome php-console google chrome

28/01 2014

1.1

1.1.0.0 https://github.com/barbushin/php-console-laravel

Service provider for integration PHP Console library with Laravel framework

  Sources   Download

BSD 3-Clause

The Requires

 

laravel debug php errors error handler chrome php-console google chrome