blackfyre/ms-graph-as-app

1.0.2 2021-04-16 08:40 UTC

This package is auto-updated.

Last update: 2024-04-20 18:49:05 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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.