yiisoft/yii-twig


CA CE CIS DIT
    Yiisoft\Yii\Twig\Extension 1 8 17 2
    Yiisoft\Yii\Twig\GetAttr 1 3 1 2
    Yiisoft\Yii\Twig\GetAttrAdjuster 1 4 3 0
    Yiisoft\Yii\Twig\Optimizer 1 6 3 0
    Yiisoft\Yii\Twig\Profile 0 4 1 2
    Yiisoft\Yii\Twig\Twig_Empty_Loader 1 1 4 0
    Yiisoft\Yii\Twig\ViewRenderer 0 13 20 2
    Yiisoft\Yii\Twig\ViewRendererStaticClassProxy 1 1 5 0
    Yiisoft\Yii\Twig\Html\BaseClassNode 0 1 2 2
    Yiisoft\Yii\Twig\Html\BaseCss_TokenParser 0 1 2 2
    Yiisoft\Yii\Twig\Html\CssClassNode 0 2 2 3
    Yiisoft\Yii\Twig\Html\CssClass_TokenParser 1 0 2 3
    Yiisoft\Yii\Twig\Html\CssStyle_TokenParser 1 0 2 3
    Yiisoft\Yii\Twig\Html\HtmlHelperExtension 0 2 2 2
    Yiisoft\Yii\Twig\Html\StyleClassNode 0 2 2 3
CA (Afferent Coupling)
Number of unique incoming dependencies from other artifacts of the same type.
CE (Efferent Coupling)
Number of unique outgoing dependencies to other artifacts of the same type.
CID (Class Interface Size)
Number of non private methods and properties of a class: CIS = public(NOM + VARS)
Measures the size of the interface from other parts of the system to a class.
Depth of Inheritance Tree
Depth of inheritance to root class
{
    "name": "yiisoft/yii-twig",
    "description": "Yii Framework Twig Extension",
    "keywords": [
        "yii",
        "twig",
        "renderer"
    ],
    "type": "library",
    "license": "BSD-3-Clause",
    "support": {
        "issues": "https://github.com/yiisoft/yii-twig/issues",
        "forum": "http://www.yiiframework.com/forum/",
        "wiki": "http://www.yiiframework.com/wiki/",
        "irc": "irc://irc.freenode.net/yii",
        "source": "https://github.com/yiisoft/yii-twig"
    },
    "authors": [
        {
            "name": "Alexander Makarov",
            "email": "sam@rmcreative.ru"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "require": {
        "yiisoft/strings": "^3.0@dev",
        "yiisoft/yii-core": "^3.0@dev",
        "yiisoft/yii-web": "^3.0@dev",
        "yiisoft/view": "^3.0@dev",
        "twig/twig": "~2.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^7.3",
        "hiqdev/composer-config-plugin": "^1.0@dev",
        "foxy/foxy": "^1.0",
        "yiisoft/di": "^3.0@dev",
        "yiisoft/log": "^3.0@dev",
        "yiisoft/yii-jquery": "^3.0@dev",
        "yiisoft/cache": "^3.0@dev"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://asset-packagist.org"
        }
    ],
    "autoload": {
        "psr-4": {
            "Yiisoft\\Yii\\Twig\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Yiisoft\\Yii\\Twig\\Tests\\": "tests/"
        }
    },
    "extra": {
        "branch-alias": {
            "dev-master": "3.0.x-dev"
        },
        "config-plugin": {
            "tests": "config/tests.php"
        }
    }
}
yiisoft/yii-twig dependencies

Yii Framework Twig Extension


This extension provides a ViewRender that would allow you to use Twig view template engine with Yii framework.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

php composer.phar require --prefer-dist yiisoft/yii-twig

Usage

To use this extension, configure it as described in documentation.

Requirements

  • PHP 7.1 and higher