composer require itk-dev/terms-bundle dev-master
Enable the bundle in app/AppKernel.php
:
public function registerBundles() {
$bundles = [
// …
new ItkDev\TermsBundle\ItkDevTermsBundle(),
];
// …
}
Add routes in `app/config/routing.yml', say:
terms_bundle:
resource: '@ItkDevTermsBundle/Resources/config/routing.xml'
prefix: /terms
Check default bundle configuration
bin/console config:dump-reference ItkDevTermsBundle
If the default configuration does not match your setup it can be
modified in app/config/config.yml
.
Make sure that itk_dev_terms.path
is set correctly to match your
setup.