simple package for authentication using neon project
install : composer require tirtoid/neon publish component: php artisan vendor:publish --provider="Tirtoid\Neon\NeonServiceProvider"
usage :
buat login controller dengan name "callback", di login controller pakai neon login use Tirtoid\Neon\Controllers\NeonController as Neon; $neon = new Neon; $data = $neon->login($request); // isinya respon dari neon
GET /neon/login
GET /neon/logout
GET /neon/check-session
GET /neon/check-email/{email}
Parameter | Type | Description |
---|---|---|
email |
string email |
Required. Registered Email |