2017 © Pedro PelĆ”ez
 

bundle whoops-bundle

Symfony 2 implementation of Whoops debugguer library

image

mickaelandrieu/whoops-bundle

Symfony 2 implementation of Whoops debugguer library

  • Saturday, October 4, 2014
  • by mickaelandrieu
  • Repository
  • 0 Watchers
  • 5 Stars
  • 175 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

WhoopsBundle

Symfony 2 implementation of debugguer library Whoops, (*1)

, (*2)

Build Status SensioLabsInsight, (*3)

INSTALLATION

As usual, there is few steps required to install this bundle:, (*4)

  1. Add this bundle to your project as a composer dependency:
    // composer.json
    {
        // ...
        require-dev: {
            // ...
            "mickaelandrieu/whoops-bundle": "dev-master"
        }
    }
  1. Add this bundle to your application kernel:
    // app/AppKernel.php
    public function registerBundles()
    {
        // ...
        if (in_array($this->getEnvironment(), array('dev'))) {
            $bundles[] = new Am\WhoopsBundle\AmWhoopsBundle();
        }

        return $bundles;
    }

That's all ! Enjoy the new theme we've created for Symfony 2., (*5)

Note: this bundle is compatible with GnugatWizardBunde, (*6)

  1. Configure Path to the resources for theming (non required)

You can as well create your own theme, by create a folder in your application with the files you want to override: you will essentialy override the css styles and need to create a file whoops.base.css that you need to locate in an css folder. For now, Whoops is still a WIP and you have to follow this to make your own theme., (*7)

You can override as well all the files loaded by Whoops library for the PrettyPageHandler used here:, (*8)

  • pretty-page.css
  • pretty-template.php

Then, configure the bundle in your config.yml file:, (*9)

am_whoops:
    resources_path: "%kernel.root_dir%/../web/bundles/amwhoops"
  1. How to contribute

This bundle is now fully unit-tested, I will accept only PR with tests related to this roadmap:, (*10)

  • Allow user to create his own Handlers
  • Update whoops library to 1.1 when tagged to stable
  • Create symfony-whoops-edition to have a demo website

The Versions

04/10 2014

dev-master

9999999-dev https://github.com/mickaelandrieu/WhoopsBundle

Symfony 2 implementation of Whoops debugguer library

  Sources   Download

MIT

The Requires

 

debug utility whoops

18/09 2014

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/mickaelandrieu/WhoopsBundle

Symfony 2 implementation of Whoops debugguer library

  Sources   Download

MIT

The Requires

 

debug utility whoops

23/03 2014

1.0.1

1.0.1.0 https://github.com/mickaelandrieu/WhoopsBundle

Symfony 2 implementation of Whoops debugguer library

  Sources   Download

MIT

The Requires

 

debug utility whoops

22/03 2014

1.0.0

1.0.0.0 https://github.com/mickaelandrieu/WhoopsBundle

Symfony 2 implementation of Whoops debugguer library

  Sources   Download

MIT

The Requires

 

debug utility whoops