PHPackages                             bitheater/rating-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bitheater/rating-bundle

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

bitheater/rating-bundle
=======================

Allows rating elements

121PHP

Since Jun 27Pushed 10y ago2 watchersCompare

[ Source](https://github.com/bitheater/rating-bundle)[ Packagist](https://packagist.org/packages/bitheater/rating-bundle)[ RSS](/packages/bitheater-rating-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

RatingBundle
============

[](#ratingbundle)

This bundle allows you to include ratings for any kind of element in your web page.

*UNDER CONSTRUCTION*, so please don't use this bundle yet :)

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

[](#installation)

- Add the dependency to your `composer.json`: `composer require bitheater/rating-bundle`
- Bootstrap the bundle in your `AppKernel.php` file: `new Bitheater\RatingBundle\BitheaterRatingBundle()`
- Configure the bundle (for now we just support MySQL, but it should be trivial to support other datastores!):

```
bitheater_rating:
    driver: orm
    model_class: MyBundle\Entity\Vote
```

Create the vote class, extending the base vote one:

```
use Bitheater\RatingBundle\Model\Vote as RatingVote;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass="Bitheater\RatingBundle\Repository\Doctrine\ORMRepository")
 * @ORM\Table(name="vote")
 */
class Vote extends RatingVote
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    public function getId()
    {
        return $this->id;
    }
}
```

- Done! Just use the service now:

`$ratingManager = $this->get('bitheater_rating.manager');`

Enjoy!

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

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

---

Top Contributors

[![magdkudama](https://avatars.githubusercontent.com/u/1323130?v=4)](https://github.com/magdkudama "magdkudama (3 commits)")

### Embed Badge

![Health badge](/badges/bitheater-rating-bundle/health.svg)

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

PHPackages © 2026

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