An open API service indexing awesome lists of open source software.

https://github.com/itk-dev/terms-bundle


https://github.com/itk-dev/terms-bundle

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# Terms Bundle

## Installation

```sh
composer require itk-dev/terms-bundle dev-master
```

Enable the bundle in `app/AppKernel.php`:

```php
public function registerBundles() {
$bundles = [
// …
new ItkDev\TermsBundle\ItkDevTermsBundle(),
];
// …
}
```

Add routes in `app/config/routing.yml', say:

```yaml
terms_bundle:
resource: '@ItkDevTermsBundle/Resources/config/routing.xml'
prefix: /terms
```

Check default bundle configuration

```sh
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.