CDAP login composer pachages for Laravel
For Laravel 6 and above
Integrate CDAP-Auth in your laravel application easily with this package. This package uses cdap-auth 's php SDK.
CDAP-Auth open-sourced software licensed under the MIT license
To get started add the following package to your composer.json
file using this command.
composer require mdsami/cdap-auth
Note: For Laravel 5.5 and above auto-discovery takes care of below configuration.
When composer installs Laravel ZKteo library successfully, register the mdsami\cdap-auth\LaraZkteoServiceProvider
in your config/app.php
configuration file.
'providers' => [
// Other service providers...
mdsami\cdap-auth\CdapAuthServiceProvider::class,
],
Also, add the cdap-auth
facade to the aliases
array in your app
configuration file:
'aliases' => [
// Other aliases
'CdapAuth' => mdsami\cdap-auth\Facades\CdapAuth::class,
],