Updated example for clarity
Updated example for clarity

The second point is missleading in my opinion.
I thought this has to be put into app/http/controllers and used in a route later on.

Putting this into the controllers folder will throw a "not exist" error - not a big issue but still something you can prevent with a little extra info.
lucadegasperi/oauth2-server-laravel,h4r5h4/oauth2-server-laravel