Skip to content

Vitre/php-console-bundle

Repository files navigation

vitre-php-console-bundle

Symfony PHP console bundle

Version Downloads Licence

Drivers

php_console

chrome_logger

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

About

Symfony PHP console bundle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages