mdsami / cdap-auth
CDAP login pachages for composer
Requires
- php: ^7.2|^8.0
- firebase/php-jwt: dev-main
- illuminate/auth: ^5.2|^6|^7|^8
- illuminate/contracts: ^5.2|^6|^7|^8
- illuminate/http: ^5.2|^6|^7|^8
- illuminate/support: ^5.2|^6|^7|^8
- lcobucci/jwt: <3.4
- namshi/jose: ^7.0
- nesbot/carbon: ^1.0|^2.0
This package is auto-updated.
Last update: 2024-10-29 06:25:24 UTC
README
CDAP login composer pachages for Laravel
For Laravel 6 and above
Introduction
Integrate CDAP-Auth in your laravel application easily with this package. This package uses cdap-auth 's php SDK.
License
CDAP-Auth open-sourced software licensed under the MIT license
Getting Started
To get started add the following package to your composer.json
file using this command.
composer require mdsami/cdap-auth
Configuring
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, ],