2017 © Pedro Peláez
 

package connect

MaGIC Connect 2.0 connector

image

mymagic/connect

MaGIC Connect 2.0 connector

  • Wednesday, December 21, 2016
  • by gtaclub
  • Repository
  • 9 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

MaGIC Connect 2.0 Wrapper

MaGIC Connect 2.0 Wrapper, (*1)

First install,, (*2)

composer require mymagic/connect, (*3)

Then add this providers to config/app.php :, (*4)

```php 'providers' => [ // Other service providers..., (*5)

        MyMagic\Connect\ConnectServiceProvider::class,
     ], 


     'aliases' => [
              'Connect' => MyMagic\Connect\Facades\Connect::class,

          ],
Now, we you fetch the data from MaGIC Connect API : 

```php
use Connect;

Connect::init($request); // initialize connect
Connect::getFirstName(); // Get users first name
Connect::getLastName(); // Get users last name
Connect::getAvatar(); // Get users avatar
Connect::getEmail(); // Get users email address
Connect::getGender(); // Get users gender

Don't forget to add this in .env file. Get the client ID and client Secret from MaGIC Connect 2.0, (*6)

CONNECT_SERVER=
CONNECT_CLIENT=
CONNECT_CLIENT_ID=
CONNECT_CLIENT_SECRET=

The Versions

21/12 2016

dev-master

9999999-dev

MaGIC Connect 2.0 connector

  Sources   Download

MIT

The Requires

 

by Rosaan Ramasamy

21/12 2016

1.0

1.0.0.0

MaGIC Connect 2.0 connector

  Sources   Download

MIT

The Requires

 

by Rosaan Ramasamy