Multi-provider authentication framework for PHP

Opauth diagram

Opauth enables PHP applications to do user authentication with ease.

Demo Download Documentations

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 Try me!
Disqus rasa/opauth-disqus ZIP
Do pocket7878/opauth-do ZIP
Facebook opauth/facebook ZIP Try me!
Flickr pocket7878/opauth-flickr ZIP Try me!
Foursquare pocket7878/opauth-foursquare ZIP
GitHub opauth/github ZIP Try me!
Google opauth/google ZIP Try me!
Instagram muhdazrain/opauth-instagram ZIP Try me!
LinkedIn opauth/linkedin ZIP Try me!
(Windows) Live opauth/live ZIP Try me!
mixi ritou/opauth-mixi ZIP
OpenID opauth/openid ZIP Try me!
PayPal 24hours/opauth-paypal ZIP
Sina Weibo (新浪微博) dgrabla/opauth-sinaweibo ZIP
Twitter opauth/twitter ZIP Try me!
VKontakte dgrabla/opauth-vkontakte ZIP
Yahoo! Japan ritou/opauth-yahoojp 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