PHPackages                             vkolya/poll-and-charts - 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. vkolya/poll-and-charts

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

vkolya/poll-and-charts
======================

An widget to create polls and to wrap google chart for Yii Framework 2

120[1 issues](https://github.com/Vkolya/poll-and-charts/issues)PHP

Since Jan 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Vkolya/poll-and-charts)[ Packagist](https://packagist.org/packages/vkolya/poll-and-charts)[ RSS](/packages/vkolya-poll-and-charts/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-poll
=========

[](#yii2-poll)

Poll and google charts widget for yii2

The Poll and google charts widget for the Yii2 framework allows you to create custom polls and draw google charts for them .

**Installing**

The preferred way to install this extension is through composer.

Either run

```
php composer.phar require "vkolya/poll-and-charts":"dev-master"

```

or add

```
"vkolya/poll-and-charts":"dev-master"

```

to the require section of your application's composer.json file.

**Usage**

At first, import widget classes in view file where you want create poll

use vkolya\\poll\\myPoll; Then invoke the widget and specify the name of the poll and the response options

```
echo myPoll::widget([
     'visualization' => 'PieChart',
     'pullName' => 'What framework do you know ?',

     'answerOptions'=>
            [

        'Laravel',
        'Yii2',
        'Symfony',

            ],
    'diagrammsOptions' => array(title => 'Frameworks',
        height => 300,
        width => 450,
            ),
            ])

```

 [![](https://github.com/Vkolya/poll-and-charts/raw/master/views/examp.jpg)](https://github.com/Vkolya/poll-and-charts/blob/master/views/examp.jpg)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

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/2e748f7f9d9928382104d24b57a81dea4bee3cb8ea42f18b1459df3d1242a646?d=identicon)[Vkolya](/maintainers/Vkolya)

---

Top Contributors

[![Vkolya](https://avatars.githubusercontent.com/u/14999115?v=4)](https://github.com/Vkolya "Vkolya (42 commits)")

### Embed Badge

![Health badge](/badges/vkolya-poll-and-charts/health.svg)

```
[![Health](https://phpackages.com/badges/vkolya-poll-and-charts/health.svg)](https://phpackages.com/packages/vkolya-poll-and-charts)
```

PHPackages © 2026

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