This is a very basic way to query the MS Graph API as an application. Oauth2 isn't intended to be supported... ever. There are Socialite packages for that.
You can install the package via composer:
composer require blackfyre/ms-graph-as-app
You'll need to register the service provider in your bootstrap/app.php
$app->register(\Blackfyre\MsGraphAsApp\MsGraphAsAppServiceProvider::class);
To use this package, anywhere in you app, just call:
$graphInstance = app('ms-graph-as-app')->getGraph();
This will land you with a preconfigured MS Graph instance, read more at https://github.com/microsoftgraph/msgraph-sdk-php
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email gnick666@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the Laravel Package Boilerplate.