2017 © Pedro Peláez
 

library debug

Itkg debug library

image

itkg/debug

Itkg debug library

  • Friday, October 24, 2014
  • by pdenis
  • Repository
  • 3 Watchers
  • 1 Stars
  • 7,319 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

Itkg Debug library

Build Status Scrutinizer Code Quality Code Coverage, (*1)

Debug library with custom debug bar, (*2)

Installation

Installation by Composer

If you use composer, add itkg/debug as a dependency to the composer.json of your application, (*3)

    "require": {
        ...
        "itkg/debug": "dev-master"
        ...
    },

To install assets in your web directory with composer, you can add this lines :, (*4)

    "extra": {
        "itkg_debug_asset_dir": "path/to/your/web/directory"
    },
    "scripts": {
        "post-update-cmd":  "Itkg\\Debug\\Composer\\Installer::copyAssets",
        "post-install-cmd": "Itkg\\Debug\\Composer\\Installer::copyAssets"
    }

Usage

For documentation & default data collector, read php-debugBar documentation., (*5)

To activate debug bar :, (*6)

    ... // include autoload, etc
    $container = new Itkg\Core\ServiceContainer();
    $container->register(new Itkg\Debug\ServiceProvider());

    $debugBarRenderer = $container['debug']['renderer'];

    // include scripts header
    echo $debugBarRenderer->renderHead();

    // include debug bar
    echo $debugBarRenderer->render();

The Versions

24/10 2014

dev-master

9999999-dev http://github.com/itkg/debug

Itkg debug library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Pascal DENIS
by Avatar Interakting
by Mathieu DUPLOUY

debug library interakting