PHPackages                             mrlco/yii2-sparkline - 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. mrlco/yii2-sparkline

ActiveYii2-extension

mrlco/yii2-sparkline
====================

A wrapper for Jquery Sparkline in Yii2

1.0.0(9y ago)1269BSD-3PHP

Since Jul 13Pushed 9y ago1 watchersCompare

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

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

yii2-sparkline
==============

[](#yii2-sparkline)

A wrapper for Jquery Sparkline in Yii2

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist mrlco/yii2-sparkline "*"

```

or add

```
"mrlco/yii2-sparkline": "*"

```

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

Usage
-----

[](#usage)

Remember to include the Sparkline.php where ever you need:

```
    use mrlco\sparkline\Sparkline;
```

And in your view:

```

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b05c2ddda48012b729ab705af8cc239a2d90b44205bc8708099145eca188688e?d=identicon)[mehrna](/maintainers/mehrna)

---

Top Contributors

[![mehrna](https://avatars.githubusercontent.com/u/6211768?v=4)](https://github.com/mehrna "mehrna (7 commits)")

---

Tags

yii2 sparkline

### Embed Badge

![Health badge](/badges/mrlco-yii2-sparkline/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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