Solved: Call to undefined method Laravel\Lumen\Application::group()

You might have come across this issue while setting up LumenPassport

When you are listing routes via php artisan route:list


Error: Call to undefined method Laravel\Lumen\Application::group()


In your AppServiceProvider boot replace 


It's also depends, in which service provider did you place this in your app.

This will fix the problem.

Author: Danyal
I'm skilled programmer with expertise in Vue.js/Nux.js for front-end development and PHP Laravel for back-end development. I excel in building APIs and services, and also have experience in web server setup & maintenance. My versatile skill set allows you to develop and maintain web applications effectively, from the user interface to the server-side functionality. I love coding with never ending learning attitude, thanks for visiting