PHPackages                             toteph42/voting - 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. toteph42/voting

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

toteph42/voting
===============

Create polls and votings for Contao Open Source CMS

1.23(1y ago)092GPL-3.0+PHPPHP &gt;=7.0

Since Aug 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/toteph42/voting)[ Packagist](https://packagist.org/packages/toteph42/voting)[ Docs](https://github.com/toteph42/voting)[ GitHub Sponsors](https://github.com/toteph42)[ RSS](/packages/toteph42-voting/feed)WikiDiscussions master Synced today

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

Create polls and voting for Contao Open Source CMS
--------------------------------------------------

[](#create-polls-and-voting-for-contao-open-source-cms)

[![](https://camo.githubusercontent.com/90484bb1cee4c36e6615ccb9b0095b10c825b6ad65ee62a3babcd383c09ef2c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7465706834322f766f74696e672e737667)](https://camo.githubusercontent.com/90484bb1cee4c36e6615ccb9b0095b10c825b6ad65ee62a3babcd383c09ef2c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7465706834322f766f74696e672e737667)[![](https://camo.githubusercontent.com/cf7ad48cc975429016d42e3fb0aa1b9a8784ef40068309fb387878ad3b9fa102/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f7465706834322f766f74696e672e737667)](https://camo.githubusercontent.com/cf7ad48cc975429016d42e3fb0aa1b9a8784ef40068309fb387878ad3b9fa102/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f7465706834322f766f74696e672e737667)[![](https://camo.githubusercontent.com/9bdcddf8fa77f05015277ba3564f6bb7c204add4e5409f77b8c15faea70cfa33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7465706834322f766f74696e672e737667)](https://camo.githubusercontent.com/9bdcddf8fa77f05015277ba3564f6bb7c204add4e5409f77b8c15faea70cfa33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7465706834322f766f74696e672e737667)

This bundle is based on [contao-polls](https://github.com/codefog/contao-polls). It is sligthly modified, a couple on bug fixes were applied and the whole bundle is made compatible with the developer rules defined for [Contao 5.3 LTS](https://contao.org/de/).

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

[](#installation)

#### Via composer

[](#via-composer)

```
composer require toteph42/voting

```

#### Via contao-manager

[](#via-contao-manager)

```
Search for voing bundle and add it to your extensions.

```

After installing the contao-member-extension-bundle, you need to run a **contao install**.

Setup a voting request
----------------------

[](#setup-a-voting-request)

In member section of Contao you may specify two additional configuration parameters:

[![](images/voting9.png)](images/voting9.png)

- The first **Voting shares** has a default set to 1. This means on each voting this user has a voting share of 1. You may modify this parameter to e.g. 20.7 (or any other number).
- The second parameter is the **Voting alias**. This defaults to nothing. In this case the users name is taken. If you want to add multiple user which will take part in a voting and you want them to share the **Voting share** then you may specify a **Voting alias** e.g. `Group01`.
- These option are usefull, if you have e.g. a homeowners association, where each homeowner has a different voting share or you have an appartment ownned by more than one owner.

To setup a new vote request go to the `Voting` (in `CONTENT` tab)

[![](images/voting1.png)](images/voting1.png)

Then you can create a new record using the `New voting` button. The voting configuration form has many options, but they are prefilled with the ready-to-use values.

[![](images/voting2.png)](images/voting2.png)

Next important thing is the behavior configuration. Here you have to set how the vooting behaves after user has or has not voted. The most optimal behavior has been set as the default, but you can adjust it to your needs anytime.

[![](images/voting3.png)](images/voting3.png)

Once you are done with the voting configuration, you have to create the voting options. Each option has the percentage bar displaying the current amount of the voting, if you have not sepcified a `Max. number of votes`. You can also view and manage the voting using the `voting` button in every row.

[![](images/voting5.png)](images/voting5.png)

Publish on the website
----------------------

[](#publish-on-the-website)

When the voting is ready, you can put it on the website as content element. You can either choose the voting manually or let the script find the most current one (based on voting settings).

[![](images/voting5.png)](images/voting5.png)

On your web sute it will look like

[![](images/voting8.png)](images/voting8.png)

On the web site you (and in back end) you will see the results (the provided `bundles/voting/style/voting.css` is base on the [ODD Theme](https://contao-themes.net/theme-detail/odd.html). If you want to customize your `CSS` setting please create a new file `_custom.ss` in same directory.

[![](images/voting6.png)](images/voting6.png)

If you have specifies `Max. number of votes` then you will see a sligthly different screen.

[![](images/voting7.png)](images/voting7.png)

Reset the poll
--------------

[](#reset-the-poll)

After all tests you can easily reset all votings using the `Reset voting` button at the top of the page:

Please enjoy!

If you enjoy my software, I would be happy to receive a donation.

[ ![Donate with PayPal](https://camo.githubusercontent.com/0145f4c212cf9f2b903c0ea3b8f27e952bde347eb91cf920353e02380d74e818/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f444b2f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/donate/?hosted_button_id=DS6VK49NAFHEQ)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.8% 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 ~22 days

Recently: every ~16 days

Total

24

Last Release

535d ago

### Community

Maintainers

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

---

Top Contributors

[![qzminski](https://avatars.githubusercontent.com/u/193483?v=4)](https://github.com/qzminski "qzminski (83 commits)")[![hamidpeywasti](https://avatars.githubusercontent.com/u/1234122?v=4)](https://github.com/hamidpeywasti "hamidpeywasti (1 commits)")

---

Tags

contaopollvotingvotepollshausverwaltungabstimmungumlaufbeschlussterminfindung

### Embed Badge

![Health badge](/badges/toteph42-voting/health.svg)

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

###  Alternatives

[metamodels/core

MetaModels core

10156.4k68](/packages/metamodels-core)[codefog/contao-haste

haste extension for Contao Open Source CMS

46676.5k170](/packages/codefog-contao-haste)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18156.0k10](/packages/terminal42-contao-folderpage)[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)
