Laravel SDK - Get access token for API

Thanks for that. I was using the “Regular Web App” flow, because the Laravel app does need to act on behalf of the logged-in user. With the M2M flow, how does that work? How do I attach user information to the token? And what is the advantage of M2M over the Regular Web App flow?