kicaj / social
Social plugin for CakePHP
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- cakephp/cakephp: ^4.0
This package is auto-updated.
Last update: 2024-09-17 06:37:54 UTC
README
NOTE: It's still in development mode, do not use in production yet!
Requirements
It is developed for CakePHP 4.x.
Installation
You can install plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require kicaj/social dev-master
Load the Plugin
Ensure the Social plugin is loaded in your src/Application.php file
$this->addPlugin('Social');
Usage
In your config/bootstrap.php
or app_local.php
add providers configuration
Configure::write('Social.Google.client_id', '[CLIENT_ID]');
Configure::write('Social.Google.client_secret', '[CLIENT_SECRET]');
When user correctly login, you can use event listener named Social.login
.
TODOs
- Social logins (just logins)
- GitHub
- BitBucket
- Separate register (and login)
- Social share
- Social meta
- Expansibility logins, interface class