yiisoft/view

Yii View Rendering Library

dev-master / 3.0.x-dev 2020-09-24 08:43 UTC

This package is auto-updated.

Last update: 2020-09-24 08:43:29 UTC


README

993323

Yii View Rendering Library


This library provides PHP-based templates rendering. It is used in Yii Framework but is supposed to be usable separately.

For license information check the LICENSE-file.

Latest Stable Version Total Downloads Build Status Code Coverage Scrutinizer Quality Score Mutation testing badge static analysis

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist yiisoft/view

or add

"yiisoft/view": "^1.0"

to the require section of your composer.json.

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework. To run it:

./vendor/bin/infection

Static analysis

The code is statically analyzed with Phan. To run static analysis:

./vendor/bin/phan