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

This package is auto-updated.

Last update: 2024-09-29 04:26:01 UTC


README

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;