Skip to content

Commit

Permalink
Merge pull request #161 from t0mmy742/3.x
Browse files Browse the repository at this point in the history
Support Twig 3
  • Loading branch information
l0gicgate committed Dec 2, 2019
2 parents 3285b8c + b7db6f1 commit 46bc497
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Coverage Status](https://coveralls.io/repos/github/slimphp/Twig-View/badge.svg?branch=3.x)](https://coveralls.io/github/slimphp/Twig-View?branch=3.x)
[![License](https://poser.pugx.org/slim/twig-view/license)](https://packagist.org/packages/slim/twig-view)

This is a Slim Framework view helper built on top of the Twig templating component. You can use this component to create and render templates in your Slim Framework application. It works with Twig 2 and PHP 7.1 or newer.
This is a Slim Framework view helper built on top of the Twig templating component. You can use this component to create and render templates in your Slim Framework application. It works with Twig (2 and 3) and PHP 7.1 or newer.

## Install

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "slim/twig-view",
"type": "library",
"description": "Slim Framework 4 view helper built on top of the Twig 2 templating component",
"description": "Slim Framework 4 view helper built on top of the Twig (2 and 3) templating component",
"keywords": ["slim","framework","view","template","twig"],
"homepage": "https://www.slimframework.com",
"license": "MIT",
Expand All @@ -21,7 +21,7 @@
"php": "^7.1",
"psr/http-message": "^1.0",
"slim/slim": "^4.0",
"twig/twig": "^2.8"
"twig/twig": "^2.8|^3.0"
},
"require-dev": {
"phpunit/phpunit": "^7.5",
Expand Down

0 comments on commit 46bc497

Please sign in to comment.