A ToolBox to use kahlan with symfony easily.
- 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
Simply use composer require --dev "elephantly/kahlan-bundle" or add "elephantly/kahlan-bundle": "0.9.6" to your composer.json file.
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