TerrePorter's avatar

laravel/ui

So I was playing with lumen and passport, and the tutorial that i was mostly following has laravel/ui installed.

I installed it and added the service provider, but I now get a error

$ php artisan ui bootstrap --auth

In Facade.php line 261:

  Call to undefined method Laravel\Lumen\Routing\Router::mixin()

any ideas?

0 likes
3 replies
TerrePorter's avatar

@artcore I did uncomment the withFacades. I have no clue on the session usages. I lost the tutorial page when my browser crashed, so having trouble finding it.

It was using passport for authentication, and dingo/api for the api code

artcore's avatar

@terreporter Lumen has a completely different route system from Laravel so it's likely that laravel/ui is not compatible with Lumen

laravel/ui - It's the auth scaffolding, routes, controllers, views from Laravel <7 extracted to it's own composer package. Passport is for api auth so generally no state/sessions/views

Please or to participate in this conversation.