2017 © Pedro Peláez
 

cakephp-plugin social

Social plugin for CakePHP

image

kicaj/social

Social plugin for CakePHP

  • Sunday, May 20, 2018
  • by kicaj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Social plugin for CakePHP

NOTE: It's still in development mode, do not use in production yet!, (*1)

Requirements

It is developed for CakePHP 4.x., (*2)

Installation

You can install plugin into your CakePHP application using composer., (*3)

The recommended way to install composer packages is:, (*4)

composer require kicaj/social dev-master

Load the Plugin

Ensure the Social plugin is loaded in your src/Application.php file, (*5)

$this->addPlugin('Social');

Usage

In your config/bootstrap.php or app_local.php add providers configuration, (*6)

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., (*7)

TODOs

  • Social logins (just logins)
    • [x] Google
    • [x] Facebook
    • [x] GitHub
    • [ ] Twitter
    • [ ] LinkedIn
    • [ ] BitBucket
  • [ ] Separate register (and login)
  • [ ] Social share
  • [ ] Social meta
  • [x] Expansibility logins, interface class

The Versions

20/05 2018

dev-master

9999999-dev

Social plugin for CakePHP

  Sources   Download

MIT

The Requires

 

by Avatar kicaj