blackfyre / ms-graph-as-app
Requires
- php: ^7.3|^8.0
- ext-json: *
- illuminate/support: ^8.0
- microsoft/microsoft-graph: ^1.29
Requires (Dev)
- phpunit/phpunit: ^8.0
README
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.
Installation
You can install the package via composer:
composer require blackfyre/ms-graph-as-app
Lumen
You'll need to register the service provider in your bootstrap/app.php
$app->register(\Blackfyre\MsGraphAsApp\MsGraphAsAppServiceProvider::class);
Usage
Lumen
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
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email gnick666@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.