A library for implementing an OAuth2 Server in php