Skip to content

Tags: willvincent/laravel-rateable

Tags

3.5.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Laravel 12 support (#73)

* Update composer.json

* Update run-tests.yml

* Update composer.json

* Update composer.json

* Update run-tests.yml

Add pcov extension

* Update phpunit.xml

* Update composer.json

3.4.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README.md

3.3.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update README.md

3.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Laravel 11.x Compatibility (#69)

* Bump dependencies for Laravel 11

* Update GitHub Actions for Laravel 11

3.2.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Allow display of other users ratings by user id. (#66)

* Updated Rateable.php with user parameter

Once the userId is provided, the ratings for that user is retrieved instead of the auth user.

* Updated ratingPercent and user_id in Rateable.php

Second parameter, rounded, was added to ratingPercent, with false as default value, giving the User the option to round off the result or get the float.
Corrected the variable userId to user_id.

* Update Rateable.php w/ modified byUser

Added extra checks on user_id for not null value

* Update Rateable.php w/ optimized byUser

The function byUser was optimized to avoid overloading the app with unnecessary null check, to improve performance.
Thank you @willvincent for pointing this out.

* Update Rateable.php without User model import

Due to test fails, the import for User model was removed, and the user class fetched from auth.providers instead.

* Update Rateable.php w/ Config facade

Added Config facade import

3.1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update run-tests.yml

3.0.0

Verified

This commit was signed with the committer’s verified signature.
willvincent Will Vincent
More updates for PHP 8.x & Laravel 9

2.4.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Comment not updated when using rateOnce (#59)

2.4.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Create FUNDING.yml

2.3.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #49 from MimisK13/master

Support Laravel 8.0