This project is still under heavy development. DO NOT USE.
Initial stable release is scheduled for late May 2012.
Opauth is a multi-provider authentication framework for PHP, inspired by OmniAuth for Ruby.
Opauth provides a standardized method for PHP applications to interface with 3rd-party 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 is designed works well with other PHP applications & frameworks.
It is currently supported on vanilla (plain) PHP applications (of course), CakePHP, Yii Framework and more to come.
If your PHP framework of choice is not yet listed, you can still use Opauth like you would a normal PHP component (class).
-
Set
DocumentRoot
of your web server toexample/
.
(Opauth can be instantiated in your own PHP app, but we will leave that out of this quick start guide) -
Configure Opauth
cp example/opauth.conf.php.default example/opauth.conf.php
and make the necessary changes. -
Install some Opauth strategies.
We recommend that you start with Opauth-Facebook -
Send user to
http://path_to_opauth/facebook
to authenticate.
Check out the wiki for more technical details.
Provider-specific:
Generic:
- Issues: Github Issues
- Twitter: @uzyn
- Email me: chua@uzyn.com
- IRC: #opauth on Freenode
The MIT License
Copyright © 2012 U-Zyn Chua (http://uzyn.com)
U-Zyn Chua is a Principal Consultant at gladlyCode, a premier PHP web development firm.
If you need consultation in web technologies and services, feel free to talk to us.