laravel-review-rateable icon indicating copy to clipboard operation
laravel-review-rateable copied to clipboard

Review & Rating System For Laravel 6, 7, 8 & 9

Results 9 laravel-review-rateable issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/24980053/175941694-ea77552e-9acf-44c6-ad3f-ac6130c32f1e.png) I am using beyondcode/laravel-query-detector it warns me of the upper image. how I can prevent the egger loading. Please help.

question

Can we get the average rating of all the Posts like ``` Post::averageRating(2) ```

enhancement
question

Hello, guys, we are using your package and when using this method getApprovedRatings() with two different models we are getting a wrong result for example like this. ![image](https://user-images.githubusercontent.com/59166666/159952924-b5598669-fa8d-4c4a-836e-d5ff9ef740e1.png) Here you...

Trying to implement this package on the user class which extends Authenticatable throws an error of "undefined type". ```class User extends Model implements ReviewRateable``` Works but ```class User extends Authenticatable...

Why the update from this to the one below model Rating?! It breaks all the code and accessing -> reviewrateable in DATATABLES always returns null with the previous update. ```php...

This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 11.x. **Before merging**, you need to: - Checkout the `l11-compatibility`...

Fix issue https://github.com/codebyray/laravel-review-rateable/issues/50 ```json { "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'reviewable_type' in 'field list' (Connection: mysql, SQL: select distinct `reviewable_type` from `reviews`)", "exception": "Illuminate\\Database\\QueryException", "file": "/Users/amrokhaled/Code/damg/api/vendor/laravel/framework/src/Illuminate/Database/Connection.php", "line":...

`$table->morphs('reviewrateable');` creating two fields in table `reviewrateable_type` and `reviewrateable_id` https://github.com/codebyray/laravel-review-rateable/blob/master/database/migrations/create_reviews_table.php.stub#L22 but in rating model use ` $this->morphTo(__FUNCTION__, 'reviewable_type', 'reviewable_id');` for create relation - is not identical in database table https://github.com/codebyray/laravel-review-rateable/blob/master/src/Models/Rating.php#L35...

The features of this package look good! But, I feel unfortunate as I implement UUID as the primary key in all tables in my Laravel project. Hope this can be...