Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Merge pull request #91 from whiteoctober/templating
Browse files Browse the repository at this point in the history
Ensure templating component is installed and configured
  • Loading branch information
Sam Partington authored Mar 1, 2018
2 parents 640df8f + 05c6d1c commit ae7818a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ Installation
white_october_breadcrumbs: ~
```

That's it for basic configuration. For more options check the [Configuration](#configuration) section.
4. Configure templating for your application if you haven't already. For example:

```yaml
# app/config/config.yml (Symfony <=3)
# config/packages/framework.yaml (Symfony 4)
templating:
engines: ['twig']
```

That's it for basic configuration. For more options check the [Configuration](#configuration) section.

Usage
=====
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
],
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": "~2.0|~3.0|^4.0"
"symfony/framework-bundle": "~2.0|~3.0|^4.0",
"symfony/templating": "^3.4|^4.0"
},
"require-dev": {
"phpunit/phpunit": "^6.4",
"symfony/templating": "^3.4|^4.0",
"symfony/browser-kit": "~2.7|~3.0|^4.0"
},
"autoload": {
Expand Down

0 comments on commit ae7818a

Please sign in to comment.