Download the PHP package venca-x/social-login without Composer
On this page you can find all versions of the php package venca-x/social-login. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download venca-x/social-login
More information about venca-x/social-login
Files in venca-x/social-login
Package social-login
Short Description Nette addon. Login with social networks ( Faceboook, Google, Twitter )
License MIT
Rated 4.00 based on 1 reviews
Informations about the package social-login
social-login
Nette addon for login with social networks
Version | Facebook App API | PHP | Recommended Nette |
---|---|---|---|
dev-master | 8.0 or own | >= 7.2 (support 8.0) | Nette 3.0 |
1.2.x | 8.0 or own | >= 7.2 (support 8.0) | Nette 3.0 |
1.1.x | 2.6 | >= 7.0 | Nette 2.4 (Nette\SmartObject) |
1.0.x | 2.6 | >= 5.5 | Nette 2.4, 2.3 (Nette\Object) |
All permissions for Facebook fields
Installation
Install dev-master version for Nette 3.0:
Install 1.2.x version for Nette 3.0 (Nette\SmartObject):
Install 1.1.x version for Nette 2.4 (Nette\SmartObject):
Install 1.0.x version for Nette 2.4 or Nette 2.3 (Nette\Object):
Configuration
config.neon
Where 'domain-social-login' replace to your unique identifier (it's cookie name for last used services for login)
BasePresenter.php
Layout for in.latte:
Simple login
HomepagePresenter.php
Simple logint with Twitter
Login with backlink
Use it when you want to redirect to specific URL after success login
HomepagePresenter.php
Registration
Facebook Developers - create new website app. Full: Settings -> Web page -> Site URL : http://www.mypage.com
API Console - Google Code - create new project add Google+ API: APIs & auth -> APIs -> Google+ API set ON credentials: APIs & auth -> Credentials -> Crate new Client ID -> Web application
All versions of social-login with dependencies
nette/application Version ^3.0
google/apiclient Version ^2.8
abraham/twitteroauth Version ^2.0.0
league/oauth2-facebook Version ^2.0