Closed creativitycomkw closed 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
.
i tried almost everything but still same error
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
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
use Spatie\Enum\Laravel\Enum;
unable to use
use Spatie\Enum\Laravel\Enum;