itlized / social
基于HybridAuth的Symfony社交Bundle
v2.1.1.2
2014-07-25 17:54 UTC
Requires
- php: ~5.4
- itlized/hybridauth: ~2.1
- symfony/framework-bundle: ~2.0
This package is not auto-updated.
Last update: 2024-09-28 15:54:46 UTC
README
安装
将Bundle添加到您的composer.json文件中
// composer.json { "require": { // ... "itlized/social": "~2.1" } }
使用Composer下载Bundle
$ php composer.phar update itlized/social
将Bundle添加到您的应用程序内核中
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Itlized\Bundle\SocialBundle\ItlizedSocialBundle(), // ... ); }
将Bundle的routing.yml添加到您的应用程序中
// app/config/routing.yml itlized_social: resource: "@ItlizedSocialBundle/Resources/config/routing.yml" prefix: /
为您的应用程序配置Bundle参数
// app/config/config.yml parameters: itlized_social: routing: itlized_social_endpoint providers: Facebook: enabled: true keys: id: xxx61753xxx secret: xxxfb1578dbb194dxxx