spatie / laravel-enum

Laravel support for spatie/enum
https://spatie.be/open-source
MIT License
344 stars 37 forks source link

getting error Laravel folder not found #76

Closed creativitycomkw closed 3 years ago

creativitycomkw commented 3 years ago

use Spatie\Enum\Laravel\Enum;

Screen Shot 2021-06-07 at 4 22 55 PM

unable to use use Spatie\Enum\Laravel\Enum;

Gummibeer commented 3 years ago

This looks like a corrupted autoloader. Have you tried to run composer dump-autoload? And if that doesn't help delete vendor directory and composer.lock and run conposer update.

creativitycomkw commented 3 years ago

i tried almost everything but still same error

Screen Shot 2021-06-08 at 9 20 16 AM
Gummibeer commented 3 years ago

To being able to debug it further a full stack trace, the failing code in question and composer.json would be needed. Or even better a full repo with the app in question. Also details on the used PHP, Laravel and PHP version. https://freek.dev/1598-how-to-check-which-version-of-php-you-are-running

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days