Looking to hire Laravel developers? Try LaraJobs

laravel-yammer-client maintained by bilalbaraz

Description
Yammer API Wrapper for Laravel
Author
Last update
2018/03/02 09:03 (dev-master)
Links
Downloads
35

Comments
comments powered by Disqus

Yammer API Wrapper For Laravel

Build Status Dependency Status

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;