Download the PHP package bladeofsteel/scn-social-auth without Composer
On this page you can find all versions of the php package bladeofsteel/scn-social-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bladeofsteel/scn-social-auth
More information about bladeofsteel/scn-social-auth
Files in bladeofsteel/scn-social-auth
Package scn-social-auth
Short Description Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.
License
Homepage https://github.com/SocalNick/ScnSocialAuth
Informations about the package scn-social-auth
ScnSocialAuth
Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module.
Requirements
- Zend Framework 2 (latest master)
- ZfcBase (latest master)
- ZfcUser (latest master)
- HybridAuth (latest master)
- Extension php_curl enabled in php.ini
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]
Installation
It is recommended to add this module to your Zend Framework 2 application using Composer. After cloning ZendSkeletonApplication, change the composer minimum-stability setting to "dev" and add "socalnick/scn-social-auth" to list of requirements, then run php composer.phar install/update. Your composer.json should look something like this:
Next add the required modules to config/application.config.php:
Import the schemas for ZfcUser (./vendor/zf-commons/zfc-user/data/schema.sql
) and ScnSocialAuth (./vendor/socalnick/scn-social-auth/data/schema.sql
).
If you do not already have a valid Zend\Db\Adapter\Adapter in your service
manager configuration, put the following in ./config/autoload/database.local.php
:
If you do not already have a valid Zend\Session\SessionManager in your service
manager configuration, put the following in ./config/autoload/session.local.php
:
Options
Make sure to check the options available in ZfcUser: https://github.com/ZF-Commons/ZfcUser#options
The ScnSocialAuth module has two files that allow you to configure supported providers.
After installing ScnSocialAuth, copy
./vendor/socalnick/scn-social-auth/config/scn-social-auth.global.php.dist
to
./config/autoload/scn-social-auth.global.php
and change the values as desired.
Also copy
./vendor/socalnick/scn-social-auth/config/scn-social-auth.local.php.dist
to
./config/autoload/scn-social-auth.local.php
and change the values as desired.
All versions of scn-social-auth with dependencies
zendframework/zendframework Version 2.*
zf-commons/zfc-base Version 0.*
zf-commons/zfc-user Version 0.*
hybridauth/hybridauth Version dev-master