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 9y ago2 watchersCompare

[ Source](https://github.com/ttreeagency/Voting)[ Packagist](https://packagist.org/packages/ttree/voting)[ RSS](/packages/ttree-voting/feed)WikiDiscussions master Synced 4w 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 26% 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://avatars.githubusercontent.com/u/145363?v=4)[ttree](/maintainers/ttree)[@ttree](https://github.com/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

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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