After reading your blog, I decided to built a small library for using OAuth2 with a Slim Framework API. This is the result https://github.com/chadicus/slim-oauth2

I would love to know what you think.