If there is more then one implementation, which one is better/mostly maintained?
Specifically for OAuth 2.0 Draft 12.
league/oauth2-server is a standards compliant implementation of an OAuth 2.0 authorization server written in PHP which makes working with OAuth 2.0 trivial. You can easily configure an OAuth 2.0 server to protect your API with access tokens, or allow clients to request new access tokens and refresh them.
Summary: OAuth 2.0 is a standard specification for allowing end users to securely authorize a client application to access protected server-side resources.
The OAuth 2.0 authorization framework is a protocol that allows a user to grant a third-party web site or application access to the user's protected resources, without necessarily revealing their long-term credentials or even their identity.
There is a more up-to-date version of the PHP OAuth2 library available at https://github.com/quizlet/oauth2-php It implements draft 20 of the spec, and will likely work with few or no changes once the final spec is released.
Taken from OAuth Wiki, there seems to be one PHP implementation called oauth2-php which supports IETF draft v9. Since OAuth2 is still a draft, it will probably be hard to find more implementations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With