PHPackages                             hypejunction/elgg\_stars - 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. hypejunction/elgg\_stars

ActiveElgg-plugin[Utility &amp; Helpers](/categories/utility)

hypejunction/elgg\_stars
========================

Star rating widget for any Elgg entity — annotate, aggregate, and display.

7.0.4(1w ago)02061[3 issues](https://github.com/hypeJunction/elgg_stars/issues)GPL-2.0-or-laterPHPPHP &gt;=8.3

Since Aug 3Pushed 3d ago1 watchersCompare

[ Source](https://github.com/hypeJunction/elgg_stars)[ Packagist](https://packagist.org/packages/hypejunction/elgg_stars)[ RSS](/packages/hypejunction-elgg-stars/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (19)Used By (0)

Stars
=====

[](#stars)

[![Elgg 7.x](https://camo.githubusercontent.com/959475d1d91761b2e3ed85398ae1ebe9536a48c724e92bef53e7e2027c3d3627/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d372e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/959475d1d91761b2e3ed85398ae1ebe9536a48c724e92bef53e7e2027c3d3627/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f456c67672d372e782d6f72616e67652e7376673f7374796c653d666c61742d737175617265)

Star rating widget for any Elgg entity — annotate, aggregate, and display.

Features
--------

[](#features)

- Drop-in interactive star rating widget (jQuery RateIt) for entities of any type/subtype.
- Multi-criterion ratings — register any number of annotation names.
- Aggregated stats: per-entity count, sum, and average.
- Admin UI to enable per-type/subtype, per-criterion rating.
- River entries for new ratings.
- "Highest Rated" widget for profile, group, and dashboard contexts.

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

[](#installation)

**Via Composer (recommended):**

```
composer require hypejunction/elgg_stars
```

**Manual:**

Download the zip, extract into your Elgg `mod/` directory, and activate in the admin panel.

Usage
-----

[](#usage)

### Render a rating form

[](#render-a-rating-form)

```
echo elgg_view_form('stars/rate', [], [
    'entity' => $entity,
    'annotation_names' => ['starrating'],
]);
```

### Display a read-only rating

[](#display-a-read-only-rating)

```
echo elgg_view('output/stars', ['value' => $entity_rating]);
```

### Programmatic rating values

[](#programmatic-rating-values)

```
$rating = elgg_stars_get_entity_rating_values($entity, ['starrating']);
// $rating = ['count' => N, 'sum' => N, 'value' => avg, 'min' => 0, 'max' => 5, 'step' => 1]
```

Compatibility
-------------

[](#compatibility)

Plugin versionElgg versioncurrent7.x6.x6.x5.x5.x4.x4.x3.x3.xCredits
-------

[](#credits)

- [RateIt](http://rateit.codeplex.com/) — jQuery star rating plugin (bundled in `vendors/rateit/`).

License
-------

[](#license)

GPL-2.0-or-later

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance99

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 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

Every ~442 days

Recently: every ~7 days

Total

10

Last Release

10d ago

Major Versions

3.0.0 → 4.0.02026-05-24

4.0.0 → 5.0.02026-05-24

5.0.0 → 7.0.02026-05-24

6.0.0 → 7.0.12026-06-09

PHP version history (6 changes)3.1.0PHP &gt;=5.4

3.0.0PHP &gt;=7.2

4.0.0PHP &gt;=7.4

5.0.0PHP &gt;=8.1

7.0.0PHP &gt;=8.3

6.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5071b1cd852e094b3f564962a625e04c227adc73af30c5b46b243ab8f20154a7?d=identicon)[hypeJunction](/maintainers/hypeJunction)

---

Top Contributors

[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (41 commits)")

---

Tags

pluginelggstarsratings

### Embed Badge

![Health badge](/badges/hypejunction-elgg-stars/health.svg)

```
[![Health](https://phpackages.com/badges/hypejunction-elgg-stars/health.svg)](https://phpackages.com/packages/hypejunction-elgg-stars)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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