vitre / php-console-bundle
Provides PHP console implementation
Installs: 11 868
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 5
Forks: 6
Open Issues: 0
Requires
- php: >=5.4.0
- ccampbell/chromephp: >=4.1
- php-console/php-console: 3.*
- symfony/framework-bundle: >=3.0
- symfony/symfony: >=3.0
Requires (Dev)
- phpunit/phpunit: 5.4.*
This package is not auto-updated.
Last update: 2024-12-17 02:20:19 UTC
README
Symfony PHP console bundle
Drivers
php_console
- https://github.com/barbushin/php-console
- https://packagist.org/packages/php-console/php-console
- https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef
chrome_logger
- https://github.com/ccampbell/chromephp
- https://packagist.org/packages/ccampbell/chromephp
- https://chrome.google.com/extensions/detail/noaneddfkdjfnfdakjjmocngnfkfehhd
Install
Composer
https://packagist.org/packages/vitre/php-console-bundle
composer require vitre/php-console-bundle dev-master
Symfony
AppKernel.php
new Vitre\PhpConsoleBundle\VitrePhpConsoleBundle(),
Configuration
# app/config/config.yml vitre_php_console: enabled: true driver: php_console source_base_path: %kernel.root_dir% encoding: utf-8 # not implemented for chrome logger ip: [192.168.*.*] password: pass ssl_only: false handle: errors: true exceptions: true forward: true
Logging
$this->getContainer()->get('vitre_php_console')->log($var);
Temporary file
%kernel.root_dir%/cache/%kernel.environment%/vitre_php_console.data