Forum

Trait not found - laravel-commentable

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
ricardopdj
ricardopdj
  • 3 months ago