-
Add this to the
deps
file:[ElnurValidatorBundle] git=http://github.com/elnur/ElnurValidatorBundle.git target=/bundles/Elnur/ValidatorBundle
And run
bin/vendors install
. -
Register the
Elnur
namespace in theapp/autoload.php
file:$loader->registerNamespaces(array( // ... 'Elnur' => __DIR__.'/../vendor/bundles', ));
-
Register the bundle in the
app/AppKernel.php
file:public function registerBundles() { $bundles = array( // ... new Elnur\ValidatorBundle\ElnurValidatorBundle(), ); }
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE