Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class "TiMacDonald\JsonApi\JsonApiResource" not found #19

Closed
CNSam opened this issue Sep 2, 2022 · 2 comments
Closed

Class "TiMacDonald\JsonApi\JsonApiResource" not found #19

CNSam opened this issue Sep 2, 2022 · 2 comments

Comments

@CNSam
Copy link

CNSam commented Sep 2, 2022

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

@brunoalfred
Copy link

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

@timacdonald
Copy link
Owner

Gonna close this unless we can get a reproduction repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants