integrated/social-bundle
Composer 安装命令:
composer require integrated/social-bundle
包简介
Provides connectors for social media
README 文档
README
Provides connectors for social media.
Requirements
- See the require section in the composer.json
Documentation
Installation
This bundle can be installed following these steps:
Install using composer
$ php composer.phar require integrated/social-bundle:~0.6
Enable the bundle
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Integrated\Bundle\SocialBundle\IntegratedSocialBundle()
// ...
);
}
Configure the bundle
To enable the twitter connector set the consumer in the config
# app/config/config.yml
integrated_social:
twitter:
consumer_key: '%twitter_consumer_key%'
consumer_secret: '%twitter_consumer_secret%'
To enable the facebook connector set the consumer in the config
# app/config/config.yml
integrated_social:
facebook:
app_id: '%facebook_app_id%'
app_secret: '%facebook_app_secret%'
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Contributing
Pull requests are welcome. Please see our CONTRIBUTING guide.
About
This bundle is part of the Integrated project. You can read more about this project on the Integrated for developers website.
统计信息
- 总下载量: 51
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-23