PHPackages                             prism/poll-bundle - 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. prism/poll-bundle

ActiveSymfony-bundle

prism/poll-bundle
=================

A simple poll bundle for symfony2

v2.0(12y ago)191.3k12[1 issues](https://github.com/emiliemarchand/PrismPollBundle/issues)[1 PRs](https://github.com/emiliemarchand/PrismPollBundle/pulls)MITPHP

Since Apr 18Pushed 8y ago3 watchersCompare

[ Source](https://github.com/emiliemarchand/PrismPollBundle)[ Packagist](https://packagist.org/packages/prism/poll-bundle)[ Docs](https://github.com/emiliemarchand/PrismPollBundle)[ RSS](/packages/prism-poll-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

A simple poll bundle for symfony2.

---

This version is for Symfony 2.4.x projects.

For Symfony 2.0.x projects, you must use a [1.x](https://github.com/emiliemarchand/PrismPollBundle/tree/symfony-2.0.x) release of this bundle.

---

Features
--------

[](#features)

- List of all published polls
- Uses Ajax for voting and showing results
- Results displayed using bar graphs
- Uses cookies to prevent multiple voting
- A backend interface
- Easily overridable

**Screenshots:**

- [Frontend list and results](https://github.com/emiliemarchand/PrismPollBundle/blob/master/Resources/doc/Screenshots/frontend.png)
- [Backend list](https://github.com/emiliemarchand/PrismPollBundle/blob/master/Resources/doc/Screenshots/backend_list.png)
- [Backend edit page](https://github.com/emiliemarchand/PrismPollBundle/blob/master/Resources/doc/Screenshots/backend_edit.png)

**Note:** The backend doesn't come with an authentication system.

**TODO:**

- Functional tests
- Rewrite "Overriding the bundle" documentation for symfony 2.4.x

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

[](#installation)

**1.** Add this to your composer.json:

```
"require": {
    "prism/poll-bundle": "dev-master"
}
```

**2.** Run a composer update:

```
$ composer update
```

**3.** Register the bundle in `app/AppKernel.php`:

(You also need to add StofDoctrineExtensionsBundle for the timestampable and sluggable features)

```
$bundles = array(
    // ...
    new Prism\PollBundle\PrismPollBundle(),
    new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
);
```

**4.** Import routing:

```
# app/config/routing.yml
PrismPollBundle_backend:
    prefix: /poll/backend
    resource: "@PrismPollBundle/Resources/config/routing/backend.yml"

PrismPollBundle_frontend:
    prefix: /poll
    resource: "@PrismPollBundle/Resources/config/routing/frontend.yml"
```

**5.** Add configuration for DoctrineExtensions:

```
# app/config/config.yml
stof_doctrine_extensions:
    orm:
        default:
            timestampable: true
            sluggable: true
```

**6.** Generate the tables:

```
$ app/console doctrine:schema:update --force
```

This will create the PrismPoll and PrismPollOpinion tables

Overriding the bundle
---------------------

[](#overriding-the-bundle)

TODO: rewrite the documentation for Symfony 2.4.x projects.

You can still get the general idea by reading the [documentation](https://github.com/emiliemarchand/PrismPollBundle/blob/symfony-2.0.x/Resources/doc/overriding.md) for Symfony 2.0.x projects.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

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

4411d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1138942?v=4)[Emilie Marchand](/maintainers/emiliemarchand)[@emiliemarchand](https://github.com/emiliemarchand)

---

Top Contributors

[![emiliemarchand](https://avatars.githubusercontent.com/u/1138942?v=4)](https://github.com/emiliemarchand "emiliemarchand (21 commits)")

---

Tags

pollquestionvote

### Embed Badge

![Health badge](/badges/prism-poll-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/prism-poll-bundle/health.svg)](https://phpackages.com/packages/prism-poll-bundle)
```

###  Alternatives

[willvincent/laravel-rateable

Allows multiple models to be rated with a fivestar like system.

416452.0k3](/packages/willvincent-laravel-rateable)[julien-boudry/condorcet

Complete election manager, providing natively many voting methods including: Condorcet / Borda (+ Nauru variant) / Copeland / Dodgson (2 Approximations) / FTPT / Instant-runoff (alternative vote) / Kemeny–Young / Minimax (+ variants) / Ranked Pairs (+ variants) / Schulze (+ variants), Single Transferable Vote (STV) / Comparison of Pairs of Outcomes by the Single Transferable Vote (CPO-STV)

1279.6k1](/packages/julien-boudry-condorcet)[d3strukt0r/votifier-client

Simple Tool to send vote request to a server which has the Votifier plugin.

1623.5k](/packages/d3strukt0r-votifier-client)[codefog/contao-polls

polls extension for Contao Open Source CMS

152.6k](/packages/codefog-contao-polls)

PHPackages © 2026

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