PHPackages                             ttree/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. [API Development](/categories/api)
4. /
5. ttree/voting

ActiveNeos-package[API Development](/categories/api)

ttree/voting
============

EventSourced Flow Framework Voting API Edit

01.3kPHP

Since Jun 16Pushed 8y ago2 watchersCompare

[ Source](https://github.com/ttreeagency/Voting)[ Packagist](https://packagist.org/packages/ttree/voting)[ RSS](/packages/ttree-voting/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Voting API
==========

[](#voting-api)

**This package is under development and API can change / break without notice, please don't use this package in production currently.**

This package provide some Voting API helps developers who want to use a standardized API and schema for storing, retrieving, and tabulating votes for Flow Framework application or Neos CMS content.

Note that this package does NOT directly expose any voting mechanisms to end users. It's a framework designed to make life easier for other developers, and to standardize voting data for consumption by other modules.

This package use EventSourcing and generate projections to make it really fast to query the vote results (average, number of votes, ...).

Install the package
-------------------

[](#install-the-package)

```
composer require ttree/voting
./flow eventstore:setup Ttree.Voting:EventStream
./flow doctrine:migrate

```

You can test the system by voting for something:

```
./flow vote:register --for subject --by johndoe --vote 3 --tag vote

```

Features
--------

[](#features)

- Vote for any subject
- Every voting subject support tags (so you can vote for multiple tag in the same subject)
- Duplicate voting is forbidden (based on the user identifier)
- Allow to update a vote
- Flexible configuration to enable/disable features (dupliate vote, allow update, ...)
- Flexible voting configuration (start date, closing date, vote value interval, thumbs up/down, percent, ...)

Acknowledgments
---------------

[](#acknowledgments)

Development sponsored by [ttree ltd - neos solution provider](http://ttree.ch).

We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.

License
-------

[](#license)

Licensed under MIT, see [LICENSE](LICENSE)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

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/cd3279e45009314122be6b398a54418a037e1b248fb4740cb66bb742d05e3512?d=identicon)[ttree](/maintainers/ttree)

---

Top Contributors

[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (12 commits)")

---

Tags

flowframeworkneoscms

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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