Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yiisoft/yii2-twig
Yii 2 Twig extension.
https://github.com/yiisoft/yii2-twig
hacktoberfest template-engine twig yii yii2
Last synced: 3 days ago
JSON representation
Yii 2 Twig extension.
- Host: GitHub
- URL: https://github.com/yiisoft/yii2-twig
- Owner: yiisoft
- License: bsd-3-clause
- Created: 2013-12-10T04:25:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T18:04:07.000Z (5 months ago)
- Last Synced: 2024-10-29T14:35:33.063Z (3 months ago)
- Topics: hacktoberfest, template-engine, twig, yii, yii2
- Language: PHP
- Homepage: http://www.yiiframework.com
- Size: 9.64 MB
- Stars: 137
- Watchers: 29
- Forks: 62
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
Twig Extension for Yii 2
This extension provides a `ViewRender` that would allow you to use [Twig](https://twig.symfony.com/) view template engine
with [Yii framework 2.0](https://www.yiiframework.com).For license information check the [LICENSE](LICENSE.md)-file.
Documentation is at [docs/guide/README.md](docs/guide/README.md).
[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-twig/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-twig)
[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-twig/downloads.png)](https://packagist.org/packages/yiisoft/yii2-twig)
[![Build Status](https://github.com/yiisoft/yii2-twig/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-twig/actions)Installation
------------The preferred way to install this extension is through [composer](https://getcomposer.org/download/):
```
php composer.phar require --prefer-dist yiisoft/yii2-twig
```Usage
-----To use this extension, configure it as described in [documentation](docs/guide/installation.md#configuring-application).
Requirements
------------* PHP 7.2 - 7.4