Lumen 6.3.2 - did not autodiscover - Class 'Uuid' not found
dodancs opened this issue · 3 comments
dodancs commented
Hey, I wanted to use this for my API, and after running composer require, I tried to use the library in my code, but was unsuccessfull.
It seems like Lumen does not know anything about it.
Help please?
ext-rgonzalez commented
Hey, I wanted to use this for my API, and after running composer require, I tried to use the library in my code, but was unsuccessfull.
It seems like Lumen does not know anything about it.
Help please?
hi
You can use the webpaster uuid class
use Webpatser\Uuid\Uuid;
ssi-anik commented
- Lumen doesn't support auto-discovery.
- You'll only need the service provider if you want to validate your request. Otherwise, the service provider isn't mandatory.
rjdjohnston commented
This should be in the README file.
use Webpatser\Uuid\Uuid;