gzero / social
Gzero Social Plugin
Installs: 1 259
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 0
Open Issues: 0
Requires
- php: >=7.1.0
- gzero/core: ^2.0
- gzero/entity: ^2.0
- gzero/repository: ^2.0
- laravel/socialite: ^3.0
Requires (Dev)
- fzaninotto/faker: 1.6.0
- mockery/mockery: 0.9.*
- phpmd/phpmd: 2.*
- phpunit/phpunit: ~6.0
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: 2.*
This package is not auto-updated.
Last update: 2024-12-21 19:31:40 UTC
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', ],