elephantly/kahlan-bundle

Symfony bundle for Kahlan Test Framework integration

Installs: 30 535

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 4

Forks: 2

Open Issues: 3

Type:symfony-bundle

v0.9.8 2017-12-22 11:55 UTC

README

Current Version Build Status Downloads Licence

kahlan-bundle

A ToolBox to use kahlan with symfony easily.

Requirements :

  • php >=5.4
  • symfony/console ~2.7|~3.0|~4.0
  • symfony/framework-bundle ~2.7|~3.0|~4.0
  • kriswallsmith/buzz ^0.15
  • kahlan/kahlan ~3.1|~4.0

Install :

Simply use composer require --dev "elephantly/kahlan-bundle" or add "elephantly/kahlan-bundle": "0.9.6" to your composer.json file.

Configuration :

Simply register the bundle in Symfony's kernel like any other bundle:

<?php
// app/AppKernel.php
    public function registerBundles()
    {
        [...]

        if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
            ...
            $bundles[] = new Elephantly\KahlanBundle\KahlanBundle();
        }

        return $bundles;
    }

That's it!

Full documentation: Elephantly/Kahlan-Bundle

Documentation powered by Couscous with Elephantly Template