PHPackages                             naoray/laravel-reviewable - 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. naoray/laravel-reviewable

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

naoray/laravel-reviewable
=========================

Adds a reviewable feature to your app.

v1.2.2(6y ago)574084[1 issues](https://github.com/Naoray/laravel-reviewable/issues)MITPHP

Since Feb 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Naoray/laravel-reviewable)[ Packagist](https://packagist.org/packages/naoray/laravel-reviewable)[ RSS](/packages/naoray-laravel-reviewable/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)Dependencies (2)Versions (17)Used By (0)

laravel-reviewable
==================

[](#laravel-reviewable)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)![Travis](https://camo.githubusercontent.com/6d89bda3a6853c86b014bcd7ebc18552ff621af5397aa614d24bab87a79e4b38/68747470733a2f2f7472617669732d63692e6f72672f4e616f7261792f6c61726176656c2d72657669657761626c652e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)[![StyleCI](https://camo.githubusercontent.com/422370d1944e7f994b3c914f768872d756ba9191849677ce9db934f90b69a205/68747470733a2f2f7374796c6563692e696f2f7265706f732f3132313135373539302f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/121157590)[![Total Downloads](https://camo.githubusercontent.com/1606c5035b8e372b6d4512c1abbe86e4298cf7b5282720373bc60d0ce57acea5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616f7261792f6c61726176656c2d72657669657761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/naoray/laravel-reviewable)

This package adds a reviewable feature to your app.

Install
-------

[](#install)

#### Laravel Version 5.7+

[](#laravel-version-57)

`composer require naoray/laravel-reviewable`

#### Laravel Version 5.6+

[](#laravel-version-56)

`composer require naoray/laravel-reviewable:1.1.*`

#### Laravel Version 5.5

[](#laravel-version-55)

`composer require naoray/laravel-reviewable:1.0.*`

*publish config:* `php artisan vendor:publish --provider="Naoray\LaravelReviewable\LaravelReviewableServiceProvider"`

Usage
-----

[](#usage)

First, add the `Naoray\LaravelReviewable\Traits\HasReviews` trait to your model you want to add reviews to.

```
use Naoray\LaravelReviewable\Traits\HasReviews;

class Post extends Model
{
    use HasReviews;

    // ...
}
```

Now you can create a review by:

```
// from reviewable entity
Post::first()->createReview(5, 'Example review text', $author);

// author is assumed to be logged in and executing this operation
Post::first()->createReview(10);

// with helper
review($post, 5, 'Example Text', $author);
```

and receive review scores by:

```
// summarizes all scores
Post::first()->score;

// gives the average of all scores
Post::first()->avg_score;
```

### Using your own Review-Model

[](#using-your-own-review-model)

If you just want to change the global configuration to use your own Review-Model, just create a new Model and reference it in the `reviewable.models.review` config.

If you do not want to change the global `review` Model you can take a look at [this issue](https://github.com/Naoray/laravel-reviewable/issues/16) for an example configuration.

Testing
-------

[](#testing)

Run the tests with:

```
vendor/bin/phpunit
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 96.2% 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 ~47 days

Recently: every ~83 days

Total

15

Last Release

2354d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10154100?v=4)[Krishan König](/maintainers/Naoray)[@Naoray](https://github.com/Naoray)

---

Top Contributors

[![Naoray](https://avatars.githubusercontent.com/u/10154100?v=4)](https://github.com/Naoray "Naoray (51 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelpackageratingreviewreviewsstarslaravelRatereviews

### Embed Badge

![Health badge](/badges/naoray-laravel-reviewable/health.svg)

```
[![Health](https://phpackages.com/badges/naoray-laravel-reviewable/health.svg)](https://phpackages.com/packages/naoray-laravel-reviewable)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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