PHPackages                             mykholy/laravel-review-rateable - 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. mykholy/laravel-review-rateable

ActiveLibrary

mykholy/laravel-review-rateable
===============================

Review &amp; Rating system for Laravel 7, 8 &amp; 9

1.0.4(1y ago)0998MITPHPPHP ^7.4|^8.0

Since Jul 16Pushed 1y ago2 watchersCompare

[ Source](https://github.com/mykholy/laravel-review-rateable)[ Packagist](https://packagist.org/packages/mykholy/laravel-review-rateable)[ GitHub Sponsors](https://github.com/mykholy)[ RSS](/packages/mykholy-laravel-review-rateable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Laravel Review Rateable
=======================

[](#laravel-review-rateable)

[![Packagist Downloads](https://camo.githubusercontent.com/cdce7b454c6965b73e760e5b3e4424520d215d8b245e7a71996d56fcf8b90166/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c65)](https://camo.githubusercontent.com/cdce7b454c6965b73e760e5b3e4424520d215d8b245e7a71996d56fcf8b90166/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c65) [![GitHub](https://camo.githubusercontent.com/0eddcc17abe33800c9b81d785000cf317d10c12f45768d252915e74b0c335cb1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c65)](https://camo.githubusercontent.com/0eddcc17abe33800c9b81d785000cf317d10c12f45768d252915e74b0c335cb1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c65) [![GitHub release (latest SemVer)](https://camo.githubusercontent.com/94526e57655e6e123dec35575a45eb3bba6f2797d81fb8bd2850316dd146423c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c65)](https://camo.githubusercontent.com/94526e57655e6e123dec35575a45eb3bba6f2797d81fb8bd2850316dd146423c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c65) [![TravisCI](https://camo.githubusercontent.com/a131bed080177a118d98e578fef0dca0b6f025e4b1a63777158a1bc5e9fe9336/68747470733a2f2f6170692e7472617669732d63692e636f6d2f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/a131bed080177a118d98e578fef0dca0b6f025e4b1a63777158a1bc5e9fe9336/68747470733a2f2f6170692e7472617669732d63692e636f6d2f6d796b686f6c792f6c61726176656c2d7265766965772d7261746561626c652e7376673f6272616e63683d6d6173746572)

Review Rateable system for laravel 6, 7, 8 , 9 &amp; 10. You can rate your models by:

- Overall Rating
- Customer Service Rating
- Quality Rating
- Friendly Rating
- Price Rating

You can also set whether the model being rated is recommended.

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

[](#installation)

First, pull in the package through Composer.

```
composer require mykholy/laravel-review-rateable

```

And then include the service provider within `app/config/app.php`. Note: If you are running Laravel 5.5+ this will be auto loaded for you.

```
'providers' => [
    Mykholy\ReviewRateable\ReviewRateableServiceProvider::class
];
```

At last you need to publish and run the migration.

```
php artisan vendor:publish --provider="Mykholy\ReviewRateable\ReviewRateableServiceProvider" --tag="migrations"

```

Run the migration

```
php artisan migrate

```

---

### Setup a Model

[](#setup-a-model)

```
