PHPackages                             claromentis/opauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. claromentis/opauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

claromentis/opauth
==================

Multi-provider authentication framework for PHP

1.0.3(3y ago)114.2k↓81%4MITPHPPHP &gt;=5.3.0

Since Mar 23Pushed 3y ago4 watchersCompare

[ Source](https://github.com/Claromentis/opauth)[ Packagist](https://packagist.org/packages/claromentis/opauth)[ Docs](http://opauth.org)[ RSS](/packages/claromentis-opauth/feed)WikiDiscussions 1.0 Synced 2d ago

READMEChangelogDependenciesVersions (9)Used By (4)

[![Opauth](https://github.com/opauth/opauth.org/raw/master/images/opauth-logo-300px-transparent.png)](https://github.com/opauth/opauth.org/raw/master/images/opauth-logo-300px-transparent.png)
===============================================================================================================================================================================================

[](#)

Opauth is a multi-provider authentication framework for PHP.

Opauth enables PHP applications to perform *user authentication* really easily.

Try out Opauth for yourself at

### Notes on 1.0.x

[](#notes-on-10x)

1.0.x is currently under preview release and not to be used for production yet. See [release notes](https://github.com/opauth/opauth/releases) for details.

Opauth API and functionalities are fully ready for evaluation. Please try it out and let us know what you think.

1.0.x is not backward-compatible with 0.x. See [migration guide](http://docs.opauth.org/en/1.0/migration-guide.html) on how to migrate Opauth 0.x applications and strategies.

For current stable release, see [0.4.x](https://github.com/opauth/opauth/tree/master).

[![Build Status](https://camo.githubusercontent.com/b09e274011431fe5298f2f9dc0e28ec25254f0b8613c390a7cbf51792c3cde6f/68747470733a2f2f7472617669732d63692e6f72672f6f70617574682f6f70617574682e7376673f6272616e63683d312e30)](https://travis-ci.org/opauth/opauth)[![Coverage Status](https://camo.githubusercontent.com/2129326629a2362309f2f57fb81a15215089a92f8149c3b547b8bf0dffb64551/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6f70617574682f6f70617574682f62616467652e706e673f6272616e63683d312e30)](https://coveralls.io/r/opauth/opauth?branch=1.0)

What is Opauth?
---------------

[](#what-is-opauth)

Opauth provides a standardized interface between PHP applications and authentication providers.

Opauth as a framework provides a set of API that allows developers to [create strategies](https://github.com/uzyn/opauth/wiki/Strategy-Contribution-Guide) that work in a predictable manner across PHP frameworks and applications.

Opauth works well with other PHP applications &amp; frameworks.

Quick start
-----------

[](#quick-start)

1. Composer require Opauth core and [Opauth strategies](http://docs.opauth.org/en/1.0/strategies.html). Add the following to your application's `composer.json`:

    ```
    {
        "minimum-stability": "dev",
        "require": {
            "opauth/opauth": "~1.0",
            "opauth/facebook": "~1.0"
        }
    }
    ```

    Note: While Opauth 1.0.x still is in development, your root `composer.json` will need to set its minimum-stability to `dev`.

    Install them

    ```
    $ composer install
    ```
2. Configure Opauth.
    Create a file `opauth.php` that is accessible at `http://localhost/opauth.php/`.

    ```
