Multi-provider authentication framework for PHP

Opauth diagram

Opauth enables PHP applications to do user authentication with ease.


What is Opauth?

Inspired by OmniAuth for Ruby, Opauth provides a standardized method for PHP applications to interface with authentication providers.

Opauth as a framework provides a set of API that allows developers to create strategies that work in a predictable manner across PHP frameworks and applications.

Opauth works well with other PHP applications & frameworks. It is currently supported on:

If your PHP framework of choice is not yet listed, you can still use Opauth like you would a normal PHP component (class).

Available strategies


Strategy Package info Download
Bitbucket fancyguy/opauth-bitbucket ZIP
Disqus rasa/opauth-disqus ZIP
Do pocket7878/opauth-do ZIP
Facebook opauth/facebook ZIP
Flickr pocket7878/opauth-flickr ZIP
Foursquare pocket7878/opauth-foursquare ZIP
GitHub opauth/github ZIP
Google opauth/google ZIP
Instagram muhdazrain/opauth-instagram ZIP
LinkedIn opauth/linkedin ZIP
(Windows) Live opauth/live ZIP
mixi ritou/opauth-mixi ZIP
OpenID opauth/openid ZIP
PayPal 24hours/opauth-paypal ZIP
Sina Weibo (新浪微博) dgrabla/opauth-sinaweibo ZIP
Twitter opauth/twitter ZIP
VKontakte dgrabla/opauth-vkontakte ZIP
Yahoo! Japan ritou/opauth-yahoojp ZIP
LINE opauth/line ZIP

Generic strategy: OAuth

See wiki's list of strategies for an updated list of Opauth strategies or to make requests. Also, refer to strategy contribution guide if you would like to contribute a strategy.

Issues & questions

Used Opauth in your project? Tell us! We'll provide a link to your site.

Fork me on GitHub