json-api icon indicating copy to clipboard operation
json-api copied to clipboard

Class "TiMacDonald\JsonApi\JsonApiResource" not found

Open CNSam opened this issue 3 years ago • 1 comments

Hi there,

So i've picked up this package this morning and installed into my project, made the necessary change to my resource file and im simply getting the error: Class "TiMacDonald\JsonApi\JsonApiResource" not found

This is my resource file

<?php

namespace App\Http\Resources;

use Illuminate\Http\Request;
use TiMacDonald\JsonApi\JsonApiResource;

class PostResource extends JsonApiResource
{ 
...

Am I missing something here? I can see the files in the vendor folder etc but just doesn't work. I've tried composer dump-autoload and that hasn't resolved anything either.

Regards

CNSam avatar Sep 02 '22 07:09 CNSam

It seems to work just fine, would you provide more information to reproduce the issues...

brunoalfred avatar Sep 06 '22 14:09 brunoalfred

Gonna close this unless we can get a reproduction repo.

timacdonald avatar Jan 22 '23 01:01 timacdonald