PHPackages                             kirillantv/yii2-dynamicvalue - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. kirillantv/yii2-dynamicvalue

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

kirillantv/yii2-dynamicvalue
============================

DynamicValue widget allows you to generate HTML content dynamicly depending on your data value

v1.0.1(8y ago)0271MITPHP

Since Sep 6Pushed 8y agoCompare

[ Source](https://github.com/kirillantv/yii2-dynamicvalue)[ Packagist](https://packagist.org/packages/kirillantv/yii2-dynamicvalue)[ RSS](/packages/kirillantv-yii2-dynamicvalue/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

yii2-dynamicvalue
=================

[](#yii2-dynamicvalue)

### 1. Download

[](#1-download)

Yii2-DynamicValue extension can be installed using composer. Run the command bellow in console to download and install Yii2-swap:

```
composer require kirillantv/yii2-dynamicvalue
```

or you can add following require to composer.json:

```
...
"require": {
  ...
  "kirillantv/yii2-dynamicvalue": "*"
  ...
}
```

### 2. Usage

[](#2-usage)

The DynamicValue widgets is used to display dynamic content depending on value of input data. You can use this widget adding following code to your view file and config `items`:

```
