tigerheck/laravel-microsoft-graph

Laravel wrapper for Microsoft Graph Rest APIs (Office365)

v1.0.6 2023-08-05 10:12 UTC

This package is auto-updated.

Last update: 2024-11-05 12:44:15 UTC


README

Latest Version on Packagist Total Downloads

A Laravel wrapper for Microsoft Graph Rest APIs (Office365).

Install

Via Composer

$ composer require tigerheck/laravel-microsoft-graph

Configuration

Laravel MsGraph requires connection configuration. To get started, you'll need to publish all vendor assets:

$ php artisan vendor:publish --provider="TigerHeck\MsGraph\MsGraphServiceProvider"

Enviroment Configuraiton

Add below variables to your enviroment configuraiton file:

MSGRAPH_CLIENT_ID=
MSGRAPH_SECRET_ID=
MSGRAPH_TENANT_ID=
MSGRAPH_SCOPES=
MSGRAPH_OAUTH_URL=
MSGRAPH_GRANT_TYPE=

Usage

See documention for params and others at MsGraph docs