Download the PHP package kuainiu/laravel-kuainiu without Composer
On this page you can find all versions of the php package kuainiu/laravel-kuainiu. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kuainiu/laravel-kuainiu
More information about kuainiu/laravel-kuainiu
Files in kuainiu/laravel-kuainiu
Package laravel-kuainiu
Short Description API client wrapper for Laravel & Connect provider for Laravel Socialite
License BSD-2-Clause
Homepage https://github.com/kuainiu/laravel-kuainiu
Informations about the package laravel-kuainiu
Laravel-Kuainiu
Laravel-Kuainiu incorporates Kuainiu Connect and the Kuainiu API into your Laravel
Requirements
- Laravel Socialite (if you intend on using Kuainiu Connect)
Installation
Add Laravel-Kuainiu to your composer file via the composer require
command:
Or add it to composer.json
manually:
Configuration
To get started, you'll need to publish all vendor assets:
This will create a config/kuainiu.php
file in your app that you can modify to set your configuration.
Kuainiu PAssport Connect with Laravel Socialite
If you intend on using Kuainiu Connect, update config/services.php
by adding this to the array:
To make sure Laravel Socialite can actually find the Kuainiu driver, use the following code snippet and paste it in the boot()
method from your AppServiceProvider.php
.
Usage
Here you can see an example of just how simple this package is to use.
Kuainiu API
Kuainiu Passport Connect with Laravel Socialite
License
Copyright (c) 2018, Kuainiu Group