Skip to content
uzyn edited this page May 24, 2012 · 38 revisions

Opauth logo

Opauth is a multi-provider authentication framework for PHP, inspired by OmniAuth for Ruby.

Current version: 0.2.0

Installation

There are 2 ways on how you can install Opauth on your PHP application.

i. Via Composer

Composer is a dependency manager for PHP.

To install Opauth core only, include opauth/opauth to your composer.json:

{
    "require":{
        "opauth/opauth": "*"
    }
}

Opauth requires strategies to work. We suggest that you add these packages as well for Facebook, Google and/or Twitter authentication support.

{
    "require":{
        "opauth/opauth": "*",
        "opauth/facebook": "*",
        "opauth/google": "*",
        "opauth/twitter": "*"
    }
}

Run php composer.phar install

See also