PHPackages                             filipgolonka/symfony-behat-debug-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. filipgolonka/symfony-behat-debug-bundle

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

filipgolonka/symfony-behat-debug-bundle
=======================================

0.3(8y ago)1602MITPHP

Since Jul 18Pushed 8y ago1 watchersCompare

[ Source](https://github.com/filipgolonka/symfony-behat-debug-bundle)[ Packagist](https://packagist.org/packages/filipgolonka/symfony-behat-debug-bundle)[ RSS](/packages/filipgolonka-symfony-behat-debug-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Symfony Behat Debug Bundle
==========================

[](#symfony-behat-debug-bundle)

Bridge between Symfony and PhpSpec which adds PhpSpec formatters to Symfony DI Container.

Usage
-----

[](#usage)

- Add package to your application dependencies

```
composer require --dev filipgolonka/symfony-behat-debug-bundle

```

- Enable bundle in your `AppKernel`:

```
// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        if ($this->getEnvironment == 'test') {
            $bundles = array(
                // ...
                new FilipGolonka\SymfonyBehatDebugBundle\FilipGolonkaSymfonyBehatDebugBundle(),
            );

            // ...
        }
    }
}

```

- Import services configuration file to your application:

```
// app/config/services.yml
imports:
    - { resource: "@FilipGolonkaSymfonyBehatDebugBundle/Resources/config/services.yml" }

```

- Just use it in your behat contexts:

```
