Skip to content

Releases: willvincent/laravel-rateable

3.3.1

10 Nov 20:43
2a8b0e1
Compare
Choose a tag to compare

Fixed:

  • Explicitly provided user ID is ignored in favor of Auth::id() by @3m1n3nc3

3.3.0

03 May 05:43
b441472
Compare
Choose a tag to compare

Laravel 11 support

3.2.0

29 Jun 14:52
9ea34cf
Compare
Choose a tag to compare

New in 3.2.0

A pull request from @metaversedataman adds the following:

  • userAverageRating() and userSumRating() accept an optional user id,
    adding the ability to display arbitrary users' ratings, not just those of the currently authenticated user.
  • ratingPercent() accepts an optional second parameter, $rounded (boolean, defaults to false),
    when true the returned value will be rounded up to the nearest integer with ceil()

3.1.0

15 Feb 08:12
f5445b9
Compare
Choose a tag to compare

Laravel 10 Support 🎉

3.0.0

20 Jan 18:06
7aa0d8a
Compare
Choose a tag to compare

🎉 Laravel 9 support 🎉

3.x+ drops support for anything below Laravel 8.0, and drops support for php versions below 8.0

2.4.1

10 Jan 21:26
3da4ed0
Compare
Choose a tag to compare

Fixed:

  • Comments not updated when using rateOnce, @al3nzy6

2.4.0

16 Dec 00:10
cf53a94
Compare
Choose a tag to compare

New

Fixed

2.3.0

10 Nov 20:19
f6b3440
Compare
Choose a tag to compare

Support Laravel 8.x by @MimisK13

2.2.1

04 Jul 16:02
10496ae
Compare
Choose a tag to compare

Fixed typo preventing vendor publish from successfully publishing the migration file

2.2.0

18 Jun 22:22
a560a57
Compare
Choose a tag to compare
  • Refactor codebase to be based on spatie's package-skeleton-laravel
  • Add new rate() and rateOnce() methods to simplify rating, and facilitate restricting users to one rating per model
  • Add new timesRated() and usersRated() methods to get counts of total ratings or unique users' ratings for a model