imanghafoori/eloquent-rating

5 star rating for eloquent

v1.0.3 2023-02-16 16:27 UTC

This package is auto-updated.

Last update: 2024-04-16 19:16:13 UTC


README

5 star rating for eloquent models

⭐ ⭐

⭐ ⭐ ⭐

⭐ ⭐ ⭐ ⭐

⭐ ⭐ ⭐ ⭐ ⭐

This package helps you in storing users staring information about a particular row of a table. lets say a camera, a hotel, a car, or whatever eloquent model instance. The usage is very simple, use just can static methods on "Star" class.

Installation:

composer require imanghafoori/eloquent-rating

You can record stars about many parameters of a single model.

It also calculates the total number of stars and the average value:

review

License:

The MIT License (MIT). Please see License File for more information.

🙋 Contributing:

If you find an issue or have a better way to do something, feel free to open an issue, or a pull request.

❗ Security

If you discover any security-related issues, please email imanghafoori1@gmail.com instead of using the issue tracker.

More from the author:

Laravel HeyMan

💎 It allows us to write expressive code to authorize, validate and authenticate.

Laravel Microscope

💎 It automatically find bugs in your laravel app