rating icon indicating copy to clipboard operation
rating copied to clipboard

cannot implement Ghanem\Rating\Traits\Ratingable - it is not an interface

Open Rejiz opened this issue 7 years ago • 6 comments

Need some help in my model! http://prntscr.com/fb9aha

Rejiz avatar May 23 '17 18:05 Rejiz

Hi @Rejiz!

Code of your model ?

ghost avatar Jun 13 '17 07:06 ghost

any updates on this? i have the same issue

joelstahre avatar Jul 24 '17 15:07 joelstahre

i solved it.

namespace App;

use Ghanem\Rating\Traits\Ratingable as RatingTrait;
use Illuminate\Database\Eloquent\Model;

class Wallet extends Model
{
    use RatingTrait;

this is what i had to do, im using Laravel 5.4

joelstahre avatar Jul 24 '17 16:07 joelstahre

@joelstahre it worked for me!

a-mikalauskas avatar Oct 26 '17 13:10 a-mikalauskas

can anyone give me the video tutorial to make 5 star rating system

RaisYousaf avatar Feb 26 '18 16:02 RaisYousaf

@joelstahre its works. Thanks.

ekasur avatar Mar 23 '18 02:03 ekasur