PHPackages                             ogogo/social-auth - 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. ogogo/social-auth

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

ogogo/social-auth
=================

Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.

1341PHP

Since Jul 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Ogogo/SocialAuth)[ Packagist](https://packagist.org/packages/ogogo/social-auth)[ RSS](/packages/ogogo-social-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SocialAuth
==========

[](#socialauth)

Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.

Requirements
------------

[](#requirements)

- [Zend Framework 2](https://github.com/zendframework/zf2) (latest master)
- [ZfcBase](https://github.com/ZF-Commons/ZfcBase) (latest master)
- [ZfcUser](https://github.com/ZF-Commons/ZfcUser) (latest master)
- [HybridAuth](https://github.com/hybridauth/hybridauth) (latest master)
- Extension php\_curl enabled in php.ini

Features
--------

[](#features)

- Login with AOL \[NO LONGER SUPPORTED\]
- Login with Facebook \[COMPLETE\]
- Login with Foursquare \[COMPLETE\]
- Login with Github \[COMPLETE\]
- Login with Google \[COMPLETE\]
- Login with LinkedIn \[COMPLETE\]
- Login with Live \[INCOMPLETE\]
- Login with MySpace \[INCOMPLETE\]
- Login with OpenID \[INCOMPLETE\]
- Login with Twitter \[COMPLETE\]
- Login with Yahoo! \[COMPLETE\]
- Login with Tumblr \[COMPLETE\]
- Login with Mail.Ru \[COMPLETE\]
- Login with Odnoklassniki \[COMPLETE\]
- Login with VKontakte \[COMPLETE\]
- Login with Yandex \[COMPLETE\]
- Login with Instagram \[COMPLETE\]

Installation
------------

[](#installation)

It is recommended to add this module to your Zend Framework 2 application using Composer. After cloning [ZendSkeletonApplication](https://github.com/zendframework/ZendSkeletonApplication), change the composer minimum-stability setting to "dev" and add "ogogo/social-auth" to list of requirements, then run php composer.phar install/update. Your composer.json should look something like this:

```
{
    "name": "zendframework/skeleton-application",
    "description": "Skeleton Application for ZF2",
    "license": "BSD-3-Clause",
    "keywords": [
        "framework",
        "zf2"
    ],
    "minimum-stability": "dev",
    "homepage": "http://framework.zend.com/",
    "require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "dev-master",
        "ogogo/social-auth": "dev-master"
    },
    "autoload": {
        "psr-0": {
            "Hybrid": "./vendor/hybridauth/hybridauth/hybridauth/"
        },
        "classmap": ["./vendor/hybridauth/hybridauth"]
    }
}

```

Next add the required modules to config/application.config.php:

```
