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

11171PHP

Since Apr 19Pushed 2mo agoCompare

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

READMEChangelogDependencies (1)Versions (14)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

25

—

LowBetter than 35% of packages

Maintenance56

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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

3531d 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)")

### 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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[yiisoft/yii2-redis

Redis Cache, Session and ActiveRecord for the Yii framework

47912.3M280](/packages/yiisoft-yii2-redis)[yiisoft/yii2-app-advanced

Yii 2 Advanced Project Template

1.7k961.7k5](/packages/yiisoft-yii2-app-advanced)[yiisoft/yii2-httpclient

HTTP client extension for the Yii framework

44411.6M327](/packages/yiisoft-yii2-httpclient)[yiisoft/yii2-debug

The debugger extension for the Yii framework

21624.5M620](/packages/yiisoft-yii2-debug)[yiisoft/yii2-app-basic

Yii 2 Basic Project Template

7101.8M8](/packages/yiisoft-yii2-app-basic)

PHPackages © 2026

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