https://github.com/itk-dev/terms-bundle
https://github.com/itk-dev/terms-bundle
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/itk-dev/terms-bundle
- Owner: itk-dev
- Created: 2018-08-27T19:25:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-21T12:07:53.000Z (about 3 years ago)
- Last Synced: 2025-02-13T08:16:57.632Z (about 1 year ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.