Back

Trait not found - laravel-commentable


ricardopdj posted 6 months ago

Hi! I'm trying to use the laravel-commentable package but I'm always get Trait not found. I'm following all the package instructions but is not working! Any help? thanks

My app.php providers:

BrianFaust\Commentable\CommentableServiceProvider::class

My Model:

use BrianFaust\Commentable\HasComments;

class Gear extends Model
{
  use Sluggable;
  use HasComments;

The error:

Trait 'BrianFaust\Commentable\HasComments' not found

Sign in to participate in this thread!



We'd like to thank these amazing companies for supporting us