PHPackages                             imanghafoori/eloquent-rating - 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. imanghafoori/eloquent-rating

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

imanghafoori/eloquent-rating
============================

5 star rating for eloquent

v1.0.3(3y ago)182061MITPHPPHP &gt;=7.0.0

Since Jan 26Pushed 3y ago2 watchersCompare

[ Source](https://github.com/imanghafoori1/eloquent-rating)[ Packagist](https://packagist.org/packages/imanghafoori/eloquent-rating)[ Docs](https://github.com/imanghafoori1/eloquent-rating)[ RSS](/packages/imanghafoori-eloquent-rating/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Eloquent Rating
===============

[](#eloquent-rating)

### 5 star rating for eloquent models

[](#5-star-rating-for-eloquent-models)

⭐

⭐ ⭐

⭐ ⭐ ⭐

⭐ ⭐ ⭐ ⭐

⭐ ⭐ ⭐ ⭐ ⭐

This package helps you in storing users staring information about a particular row of a table. lets say a camera, a hotel, a car, or whatever eloquent model instance. The usage is very simple, use just can static methods on "Star" class.

### Installation:

[](#installation)

```
composer require imanghafoori/eloquent-rating

```

You can record stars about many parameters of a single model.

It also calculates the total number of stars and the average value:

[![review](https://user-images.githubusercontent.com/6961695/106670501-60fa2880-65c2-11eb-9e0e-af699063250d.PNG)](https://user-images.githubusercontent.com/6961695/106670501-60fa2880-65c2-11eb-9e0e-af699063250d.PNG)

### License:

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

---

### 🙋 Contributing:

[](#raising_hand-contributing)

If you find an issue or have a better way to do something, feel free to open an issue, or a pull request.

### ❗ Security

[](#exclamation-security)

If you discover any security-related issues, please email `imanghafoori1@gmail.com` instead of using the issue tracker.

More from the author:
---------------------

[](#more-from-the-author)

### Laravel HeyMan

[](#laravel-heyman)

💎 It allows us to write expressive code to authorize, validate and authenticate.

-

### Laravel Microscope

[](#laravel-microscope)

💎 It automatically find bugs in your laravel app

-

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.9% 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 ~250 days

Total

4

Last Release

1234d ago

Major Versions

v0.0.1 → v1.0.02021-01-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6961695?v=4)[Iman](/maintainers/imanghafoori1)[@imanghafoori1](https://github.com/imanghafoori1)

---

Top Contributors

[![imanghafoori1](https://avatars.githubusercontent.com/u/6961695?v=4)](https://github.com/imanghafoori1 "imanghafoori1 (26 commits)")[![muhammadmp97](https://avatars.githubusercontent.com/u/17279395?v=4)](https://github.com/muhammadmp97 "muhammadmp97 (4 commits)")[![amirsadeghi1](https://avatars.githubusercontent.com/u/26359326?v=4)](https://github.com/amirsadeghi1 "amirsadeghi1 (1 commits)")

---

Tags

phplaravellaravel5laravel-eloquentlaravel5-packagelaravel-ratinglaravel-validationeloquent-star

### Embed Badge

![Health badge](/badges/imanghafoori-eloquent-rating/health.svg)

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

###  Alternatives

[imanghafoori/laravel-heyman

A package to help you write expressive defensive code in a functional manner

92537.6k5](/packages/imanghafoori-laravel-heyman)[imanghafoori/laravel-terminator

A minimal yet powerful package to give you opportunity to refactor your controllers.

25453.8k](/packages/imanghafoori-laravel-terminator)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21623.4k](/packages/imanghafoori-laravel-anypass)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)

PHPackages © 2026

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