Definitely open to some feedback on this, but I’ve gotten a new package for @nunomaduro's #Laravel #Zero framework to a useable state so I figured I'd share:
https://github.com/hskrasek/laravel-zero-oauth
While the name might be unimaginative, it does exactly what it says on the tin: Allows you to create CLI applications that authenticate and interact with an OAuth2 protected API. It's very similar to what you experience with the AWS CLI when you execute `aws sso login`.
Let me know what y'all think.