PHPackages                             sjaakp/yii2-telex - 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. sjaakp/yii2-telex

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

sjaakp/yii2-telex
=================

News scroller widget for Yii

2.1.2(1y ago)72.4k2[2 issues](https://github.com/sjaakp/yii2-telex/issues)[1 PRs](https://github.com/sjaakp/yii2-telex/pulls)MITPHP

Since Oct 4Pushed 1y ago2 watchersCompare

[ Source](https://github.com/sjaakp/yii2-telex)[ Packagist](https://packagist.org/packages/sjaakp/yii2-telex)[ RSS](/packages/sjaakp-yii2-telex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Yii2-telex 2.1
==============

[](#yii2-telex-21)

#### Telex news scroller widget for the Yii2 PHP Framework

[](#telex-news-scroller-widget-for-the-yii2-php-framework)

[![Latest Stable Version](https://camo.githubusercontent.com/74ca2a10ef4e82849ce809d55dc586666d7fd52c8ad569dabe88d7f75c232994/68747470733a2f2f706f7365722e707567782e6f72672f736a61616b702f796969322d74656c65782f762f737461626c65)](https://packagist.org/packages/sjaakp/yii2-telex)[![Total Downloads](https://camo.githubusercontent.com/7bf041ceb705965362d4d81339c23cdf1ec55cf58496edb29a573eb05d222cf7/68747470733a2f2f706f7365722e707567782e6f72672f736a61616b702f796969322d74656c65782f646f776e6c6f616473)](https://packagist.org/packages/sjaakp/yii2-telex)[![License](https://camo.githubusercontent.com/0fe7be1ed446167c631fa7b9aece77862482ca996ad991b00adfc7130e34954b/68747470733a2f2f706f7365722e707567782e6f72672f736a61616b702f796969322d74656c65782f6c6963656e7365)](https://packagist.org/packages/sjaakp/yii2-telex)

Telex widget is a widget to render my [Javascript telex widget](https://github.com/sjaakp/telex). It displays horizontal scrolling news messages, traffic information, stock quotes, and the like, provided by a Yii2 `DataProvider`.

A demonstration of **Yii2-telex** is [here](https://sjaakpriester.nl/software/yii2-telex).

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

[](#installation)

Install **Yii2-telex** with [Composer](https://getcomposer.org/). Either add the following to the `require` section of your `composer.json` file:

`"sjaakp/yii2-telex": "*"`

Or run:

`composer require sjaakp/yii2-telex "*"`

You can manually install **Yii2-telex** by [downloading the source in ZIP-format](https://github.com/sjaakp/yii2-telex/archive/master.zip).

Using Yii2-telex
----------------

[](#using-yii2-telex)

#### Options

[](#options)

Yii2-telex has the following options:

- **dataProvider**: instance of a `yii\data\DataProviderInterface` providing `BaseObject`s with message data.
- **bodyAttribute**: attribute name of the attribute of the message's body text. The body text may contain HTML. Default: `"body"`.
- **styleAttribute**: attribute name of the style attribute (optional). This attribute will be prefixed with **stylePrefix** to form the HTML-class of the message. Default: `"style"`.
- **urlAttribute**: attribute name of the url attribute (optional). If set, the message will be a link to the url. Default: `"url"`.
- **stylePrefix**: see **styleAttribute**. Default: `"telex-"`.
- **options**: array of options for the underlying Javascript telex widget. More information [here](https://github.com/sjaakp/telex#messages "GitHub").
- **htmlOptions**: array of HTML options for the Telex container. Use this if you want to explicitly set the ID.

#### Overridable

[](#overridable)

Yii2-telex's protected function `prepareBody($str)` can be overridden. To manipulate the body text before it is sent to the widget. The default implementation just returns `$str`.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~638 days

Recently: every ~579 days

Total

6

Last Release

682d ago

Major Versions

1.0.1 → 2.0.02018-12-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/156f636aceedc73021a2bfafb5433271c2c55d6cf4bce06b12902c85b4b491f1?d=identicon)[sjaakp](/maintainers/sjaakp)

---

Top Contributors

[![sjaakp](https://avatars.githubusercontent.com/u/5585878?v=4)](https://github.com/sjaakp "sjaakp (15 commits)")

---

Tags

dateyii2extensionwidgetyii newsscrollerticker

### Embed Badge

![Health badge](/badges/sjaakp-yii2-telex/health.svg)

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

###  Alternatives

[sjaakp/yii2-taggable

Manage tags of ActiveRecord in Yii2.

3030.6k](/packages/sjaakp-yii2-taggable)

PHPackages © 2026

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