PHPackages                             mmedojevicbg/yii2-text-area-tokens - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mmedojevicbg/yii2-text-area-tokens

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

mmedojevicbg/yii2-text-area-tokens
==================================

Text area with clickable tokens for Yii2 forms

33392PHP

Since Feb 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mmedojevicbg/yii2-text-area-tokens)[ Packagist](https://packagist.org/packages/mmedojevicbg/yii2-text-area-tokens)[ RSS](/packages/mmedojevicbg-yii2-text-area-tokens/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Text Area Tokens - Yii2 extension
=================================

[](#text-area-tokens---yii2-extension)

This is drop-in replacement for textarea form element. It provides tokens below form element. Text is automatically inserted into textarea by clicking one of tokens.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist mmedojevicbg/yii2-text-area-tokens "dev-master"

```

or add

```
"mmedojevicbg/yii2-text-area-tokens": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

```
echo TextAreaTokens::widget(['model' => $model,
                             'attribute' => 'textfield1',
                             'tokens' => ['first_name', 'last_name', 'phone_number'],
                             'options' => ['rows' => 8, 'cols' => 100]])
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1908699?v=4)[Marko Medojevic](/maintainers/mmedojevicbg)[@mmedojevicbg](https://github.com/mmedojevicbg)

---

Top Contributors

[![mmedojevicbg](https://avatars.githubusercontent.com/u/1908699?v=4)](https://github.com/mmedojevicbg "mmedojevicbg (6 commits)")

### Embed Badge

![Health badge](/badges/mmedojevicbg-yii2-text-area-tokens/health.svg)

```
[![Health](https://phpackages.com/badges/mmedojevicbg-yii2-text-area-tokens/health.svg)](https://phpackages.com/packages/mmedojevicbg-yii2-text-area-tokens)
```

###  Alternatives

[enomotodev/php-cs-fixer-commit

Create commit of php-cs-fixer

18123.4k](/packages/enomotodev-php-cs-fixer-commit)[swissup/module-swiper

Basic integration of Swiper into Magento 2

13173.1k2](/packages/swissup-module-swiper)[paulzi/yii2-materialized-path

Materialized Path Behavior for Yii2

2619.5k6](/packages/paulzi-yii2-materialized-path)[padam87/address-bundle

Symfony2 AddressBundle

1013.2k](/packages/padam87-address-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
