gzero/social
最新稳定版本:v3.0.0
Composer 安装命令:
composer require gzero/social
包简介
Gzero Social Plugin
README 文档
README
=== Social package for GZERO CMS
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require gzero/social.
"require": { "gzero/social": "3.*", }, "minimum-stability" : "stable"
Next, update Composer from the Terminal:
composer update
- create database schema (remember to set env to dev)
php artisan migrate
Configuration
Add the service provider to platform configuration in config/app.php
Gzero\Social\ServiceProvider::class
OAuth credentials
Set required credentials for given service in services config file
'google' => [ 'client_id' => 'your client_id', 'client_secret' => 'your client_secret', ], 'facebook' => [ 'client_id' => 'your client_id', 'client_secret' => 'your client_secret', ], 'twitter' => [ 'client_id' => 'your client_id', 'client_secret' => 'your client_secret', ],
Like buttons credentials
Set only client_id for given service in services config file
'facebook' => [ 'client_id' => 'your client_id', ],
统计信息
- 总下载量: 1.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-28