PHPackages                             davidjeddy/yii2poll - 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. [Framework](/categories/framework)
4. /
5. davidjeddy/yii2poll

Abandoned → [davidjeddy/yii2-poll](/?search=davidjeddy%2Fyii2-poll)ArchivedYii2-extension[Framework](/categories/framework)

davidjeddy/yii2poll
===================

Widget to create custom polls for Yii 2.0 framework

2.0.9(9y ago)11171BSD-2-ClausePHP

Since Jun 17Pushed 1mo agoCompare

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

READMEChangelogDependencies (1)Versions (13)Used By (0)

\[!WARNING\] **⚠️ This project has been archived and is no longer maintained. ⚠️**

Github has shown it does not respect its users. Other have said it better than I can.

- [https://www.theregister.com/2022/06/30/software\_freedom\_conservancy\_quits\_github/](https://www.theregister.com/2022/06/30/software_freedom_conservancy_quits_github/)
-
-
-
- [https://dev.to/alanwest/how-to-actually-migrate-from-github-to-codeberg-without-losing-your-mind-33bf&gt;](https://dev.to/alanwest/how-to-actually-migrate-from-github-to-codeberg-without-losing-your-mind-33bf%3E)

> Development has moved to Codeberg: **➡️ **
>
> Please update your remotes:
>
> ```
> git remote set-url origin https://codeberg.org/DavidJEddy/yii2poll
> ```

---

NOTICE: No longer maintained. Superseded by

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

[](#yii2-poll)

Poll widget for Yii 2.x allows you to create basic custom polls for authenticated users to vote on.

Installing
==========

[](#installing)

- Run composer `require davidjeddy/yii2poll` on the terminal in your {project root}, OR add `"davidjeddy/davidjeddyyii2poll": "~2"` to your projects composer.json in the "required": \[...\] section then run `composer update`.
- Enbable the module in your apps config/web.config module list

Usage
=====

[](#usage)

Basic:

```
    echo \davidjeddt\yii2poll\Poll::widget([
        'pollName'      => 'Do you like PHP?',
        'answerOptions' => ['Yes', 'No'],
    ]);
```

Advanced:

```
    echo \davidjeddt\yii2poll\Poll::widget([
        'pollName'      => 'Do you like PHP?',
        'answerOptions' => ['Yes', 'No'],
        'params'        => [
            'backgroundLinesColor' => '#DCDCDC',// html hex
            'linesColor'           => '#DC0079' // html hex
            'linesHeight'          => 20,       // in pixels
            'maxLineWidth'         => 200,      // in pixels
        ]
    ]);
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance61

Regular maintenance activity

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 97% 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 ~56 days

Recently: every ~124 days

Total

10

Last Release

3485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c87b153a146e26efc71045db2c227c6eb3a8b2e3b1eb29884491fa550300cf5?d=identicon)[davidjeddy](/maintainers/davidjeddy)

---

Top Contributors

[![Dzhus111](https://avatars.githubusercontent.com/u/5710485?v=4)](https://github.com/Dzhus111 "Dzhus111 (32 commits)")[![davidjeddy](https://avatars.githubusercontent.com/u/6232455?v=4)](https://github.com/davidjeddy "davidjeddy (1 commits)")

---

Tags

yii2widgetpollpoll-widgetyii2-poll-widget

### Embed Badge

![Health badge](/badges/davidjeddy-yii2poll/health.svg)

```
[![Health](https://phpackages.com/badges/davidjeddy-yii2poll/health.svg)](https://phpackages.com/packages/davidjeddy-yii2poll)
```

###  Alternatives

[wbraganca/yii2-dynamicform

It is widget to yii2 framework to clone form elements in a nested manner, maintaining accessibility.

434802.7k9](/packages/wbraganca-yii2-dynamicform)[miloschuman/yii2-highcharts-widget

Highcharts widget for Yii 2 Framework.

1761.5M14](/packages/miloschuman-yii2-highcharts-widget)[thiagotalma/yii2-fullcalendar

Widget for Yii Framework 2.0 to use FullCalendar

1777.7k](/packages/thiagotalma-yii2-fullcalendar)[marekpetras/yii2-ajax-box-widget

Ajax Box widget for Yii 2 Framework.

1814.6k](/packages/marekpetras-yii2-ajax-box-widget)[liyuze/yii2-ztree

The zTree extension for the Yii framework 2.0

111.9k](/packages/liyuze-yii2-ztree)

PHPackages © 2026

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