PHPackages                             kotchuprik/yii2-trix - 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. kotchuprik/yii2-trix

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

kotchuprik/yii2-trix
====================

Basecamp Trix editor for yii2

2311PHP

Since Dec 27Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Basecamp Trix Widget for yii2
=============================

[](#basecamp-trix-widget-for-yii2)

`Basecamp Trix Widget for yii2` is a wrapper for [trix text editor](https://github.com/basecamp/trix).

Usage
=====

[](#usage)

Once the extension is installed, simply use it in your code:

Like a widget without model
---------------------------

[](#like-a-widget-without-model)

```
echo \kotchuprik\trix\Widget::widget();
```

Like a widget
-------------

[](#like-a-widget)

```
echo \kotchuprik\trix\Widget::widget([
    'model' => $model,
    'attribute' => 'attributeModel',
]);
```

Like a ActiveForm widget
------------------------

[](#like-a-activeform-widget)

```
use \kotchuprik\trix\Widget;

echo $form->field($model, 'attributeModel')->widget(Widget::className());
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

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://www.gravatar.com/avatar/b5764b62d1883e2d0b0a733646c2dbc220cd825d62d7f33c8c5d571b62516c3c?d=identicon)[kotchuprik](/maintainers/kotchuprik)

---

Top Contributors

[![chuprik](https://avatars.githubusercontent.com/u/802946?v=4)](https://github.com/chuprik "chuprik (2 commits)")

### Embed Badge

![Health badge](/badges/kotchuprik-yii2-trix/health.svg)

```
[![Health](https://phpackages.com/badges/kotchuprik-yii2-trix/health.svg)](https://phpackages.com/packages/kotchuprik-yii2-trix)
```

###  Alternatives

[humanmade/popup

An popup and tooltip dialog block utility, multiple trigger options, and supports anchor placements

146.6k](/packages/humanmade-popup)[yii2mod/yii2-link-preview

LinkPreview widget renders page preview

271.7k](/packages/yii2mod-yii2-link-preview)

PHPackages © 2026

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