Download the PHP package wildwestriverrider/laravel-ratings-and-reviews without Composer
On this page you can find all versions of the php package wildwestriverrider/laravel-ratings-and-reviews. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wildwestriverrider/laravel-ratings-and-reviews
More information about wildwestriverrider/laravel-ratings-and-reviews
Files in wildwestriverrider/laravel-ratings-and-reviews
Package laravel-ratings-and-reviews
Short Description Ratings and reviews in Laravel 9+
License MIT
Homepage https://github.com/wildwestriverrider/laravel-ratings-and-reviews
Informations about the package laravel-ratings-and-reviews
Ratings and reviews in Laravel 10+
This package allows you to add ratings and reviews to any model in your Laravel application.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
This is the contents of the published config file:
Usage
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
Testing
//: # ()
//: # ()
//: # ()
//: # ()
//: # ()
//: # ()
//: # ()
//: # ()
//: # ()
All versions of laravel-ratings-and-reviews with dependencies
spatie/laravel-package-tools Version ^1.13.0
illuminate/contracts Version ^v10.25.1|^v11.0.1