Download the PHP package org_heigl/hybridauth without Composer
On this page you can find all versions of the php package org_heigl/hybridauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download org_heigl/hybridauth
More information about org_heigl/hybridauth
Files in org_heigl/hybridauth
Package hybridauth
Short Description Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library
License MIT
Homepage http://github.com/heiglandreas/HybridAuth
Informations about the package hybridauth
OrgHeiglHybridAuth
Use the SocialConnect-Library to create an absolute lightweight Authentication-Layer for your ZendFramework3-App
You can login with all supported SocialNetwork-Logins. The network and a user-object holding id, name, mail and language will be stored in the session. If you already have SocialNetwork users in your application you can use these to authorize your users.
Requirements
- The SocialConnect-Library. This lib uses the version 3 which is not (yet) stable!
- Zend Framework3 (well, obvious, isn't it?)
Usage
- In your application.conf-file add the Module to the list of modules
-
Copy the file to your applications -directory and adapt as appropriate. That might look like this:
-
Add this snippet to create a login-link
- After login you can access the user-info the following way:
Installation
composer
This module is best installed using composer. For that, run the following command to add the library to your app:
# Require the hybridauth-module
composer require org_heigl/hybridauth
If you want to use more than one authentication-provider you should instead run this:
# Require the hybridauth-module
composer require org_heigl/hybridauth:dev-feature/multipleProviders
Manual installation
So you want it the hard way? Sure you don't want to give composer a try?
Then go figure it out. You might want to ask on the gitter channel or on IRC (freenode) but expect a reply along the line "use composer!"
Note that you can either download the zip-files of the libraries or use the git submodule command to clone the libs into the appropriate folders. You should not simply use as that might interfere with your local git-repo (when you use one). The submodule approach makes Lib-updates easier bun can end in a lot of headaches due to the caveats of the submodule-command! I can not provide you with support in that case! Alternatively you can fork the project at github.
Example Implementation.
There is an example-implementation at https://hybridauth.heigl.org - The sourcecode is on github.
All versions of hybridauth with dependencies
zendframework/zend-mvc Version ^3.0
zendframework/zend-servicemanager Version ^3.0
zendframework/zend-session Version ^2.7 || ^3.0
zendframework/zend-uri Version ^2.5 || ^3.0
zendframework/zend-view Version ^2.7 || ^3.0
socialconnect/auth Version ^1.0
guzzlehttp/guzzle Version ^6.2