webpatser/laravel-uuid

Doesn't work without facades [Lumen]

4levels opened this issue · 1 comments

Hi,

I'm trying to use your great library in a Lumen project without using Facades (imho Facades are userland tools).
I'd also love to see some info on how to implement this in Lumen.

I've managed so far by creating a custom UuidServiceProvider that includes a register() function, and I replaced all facade calls. I'll make a PR later on so you can review my changes..

Thanks for this already!

Kind regards

You can also just import the Uuid class and use it directly where needed?