Cjmellor/rating is a Laravel package that allows for ratings to be added to a Model Imagine you have a Recipes Model and want your users to rate your culinary delights. You can install the package via composer: composer require cjmellor/rating You can publish and run the migrations with the following: php artisan vendor:publish --tag="rating-migrations" php artisan migrate
The results of these are based on a single Model rated by two Users' with 3 and 5 ratings.
The package comes with an optional blade component for displaying the Models' ratings.