PHPackages                             wildwestriverrider/laravel-ratings-and-reviews - 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. wildwestriverrider/laravel-ratings-and-reviews

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

wildwestriverrider/laravel-ratings-and-reviews
==============================================

Ratings and reviews for Laravel 10+

3.1(4mo ago)0610[4 PRs](https://github.com/wildwestriverrider/laravel-ratings-and-reviews/pulls)MITPHPPHP ^8.1|^8.2|^8.3CI passing

Since Jan 25Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/wildwestriverrider/laravel-ratings-and-reviews)[ Packagist](https://packagist.org/packages/wildwestriverrider/laravel-ratings-and-reviews)[ Docs](https://github.com/wildwestriverrider/laravel-ratings-and-reviews)[ RSS](/packages/wildwestriverrider-laravel-ratings-and-reviews/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (13)Versions (15)Used By (0)

Ratings and reviews for Laravel 10+
===================================

[](#ratings-and-reviews-for-laravel-10)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a5a4cdcc34451580517a336ecfe125444801762446a60e39d250757e2936d584/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696c6477657374726976657272696465722f6c61726176656c2d726174696e67732d616e642d726576696577732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wildwestriverrider/laravel-ratings-and-reviews)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d3ae8cd98aefb8cf3d348e7f6428e045663a54c0bf7042c5c353d351be1d6d05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f77696c6477657374726976657272696465722f6c61726176656c2d726174696e67732d616e642d726576696577732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/wildwestriverrider/laravel-ratings-and-reviews/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/269c678edf12b7c436033ed7ed9e4f2e0d384e3be0cbddcd04c66bd386aea7fe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f77696c6477657374726976657272696465722f6c61726176656c2d726174696e67732d616e642d726576696577732f466978253230504850253230636f64652532307374796c652532306973737565733f6c6162656c3d636f64652532307374796c65)](https://github.com/wildwestriverrider/laravel-ratings-and-reviews/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/07cf999d1fbd7dd61b2e564e98fbda0f1a1dcebe5811908c73129a7059faca07/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696c6477657374726976657272696465722f6c61726176656c2d726174696e67732d616e642d726576696577732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wildwestriverrider/laravel-ratings-and-reviews)

This package allows you to add ratings and reviews to any model in your Laravel application.

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

[](#installation)

You can install the package via composer:

```
composer require wildwestriverrider/laravel-ratings-and-reviews
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="ratings-and-reviews-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ratings-and-reviews-config"
```

This is the contents of the published config file:

```
return [
    'max-rating' => 5,
    'min-rating' => 1
];
```

Usage
-----

[](#usage)

### Traits

[](#traits)

HasRatings - add this to the user model that will be giving ratings

HasReviews - add this to the user model that will be giving reviews

Rateable - add this to any model that should be rateable

Reviewable - add this to any model that should be reviewable

```
$laravelRatingsAndReviews = new Wildwestriverrider\LaravelRatingsAndReviews();
```

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance85

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 64.5% 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 ~226 days

Total

5

Last Release

138d ago

Major Versions

1.0.0 → 2.0.02023-10-03

2.0.0 → 3.0.02024-07-11

PHP version history (2 changes)1.0.0PHP ^8.1

3.0.0PHP ^8.1|^8.2|^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d63e4fd88663eaab85b25a147dd6968380af2cc97b93dc86339ec3e994b5583?d=identicon)[wildwestriverrider](/maintainers/wildwestriverrider)

---

Top Contributors

[![wildwestriverrider](https://avatars.githubusercontent.com/u/5050325?v=4)](https://github.com/wildwestriverrider "wildwestriverrider (40 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")

---

Tags

laravelwildwestriverriderlaravel-ratings-and-reviews

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/wildwestriverrider-laravel-ratings-and-reviews/health.svg)

```
[![Health](https://phpackages.com/badges/wildwestriverrider-laravel-ratings-and-reviews/health.svg)](https://phpackages.com/packages/wildwestriverrider-laravel-ratings-and-reviews)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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