bilalbaraz / laravel-yammer-client
There is no license information available for the latest version (1.0.5) of this package.
Yammer API Wrapper for Laravel
1.0.5
2018-03-01 12:14 UTC
Requires
- guzzlehttp/guzzle: ~6.0
README
Installation
Run in console below command to download package to your project:
composer require bilalbaraz/laravel-yammer-client
Requirements
guzzlehttp/guzzle
Configuration
Publish config settings:
php artisan vendor:publish --provider="Yammer\YammerServiceProvider"
or copy /vendor/bilalbaraz/laravel-yammer-client/config/yammer.php
into /config
directory.
and add below global variables to your .env file:
YAMMER_CLIENT_ID=[YAMMER-CLIENT-ID WILL BE HERE]
YAMMER_CLIENT_SECRET=[YAMMER-CLIENT-SECRET WILL BE HERE]
YAMMER_TOKEN=[YAMMER-ACCESS-TOKEN WILL BE HERE]
Usage
Where you want to use this package, must be added below namespace:
use Yammer\YammerClient;