rjvim/connect-sentinel-5.4

Connect - Sentinel - OAuth

dev-master 2019-05-06 07:04 UTC

This package is auto-updated.

Last update: 2024-04-06 18:42:23 UTC


README

Add to dependencies

"cartalyst/sentinel": "^2.0",
"google/apiclient": "^2.0"

Add to providers

Rjvim\Connect\ConnectServiceProvider::class,

Add to facades

'Connect'   => Rjvim\Connect\ConnectFacade::class,

Run: php artisan vendor:publish

Add more columns to users table:

$table->string('name')->nullable();
$table->enum('gender', ['male', 'female', 'others'])->nullable();

Extend User model with Rjvim\Connect\Models\User

Add routes:

Connect::google();