PHPackages                             blackfyre/ms-graph-as-app - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. blackfyre/ms-graph-as-app

ActiveLibrary[API Development](/categories/api)

blackfyre/ms-graph-as-app
=========================

1.0.2(5y ago)0134MITPHPPHP ^7.3|^8.0

Since Apr 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/blackfyre/ms-graph-as-app)[ Packagist](https://packagist.org/packages/blackfyre/ms-graph-as-app)[ Docs](https://github.com/blackfyre/ms-graph-as-app)[ RSS](/packages/blackfyre-ms-graph-as-app/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Very short description of the package
=====================================

[](#very-short-description-of-the-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3ffc1bd620b3cb7c60886bfa2da9aee36afb0395dda8a901d6b4cbf056ac38f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c61636b667972652f6d732d67726170682d61732d6170702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackfyre/ms-graph-as-app)[![Build Status](https://camo.githubusercontent.com/00266297d07f1e433e1dadaf76e3dda34313b1c46a382aff7b27a17feecf7a35/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f626c61636b667972652f6d732d67726170682d61732d6170702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/blackfyre/ms-graph-as-app)[![Quality Score](https://camo.githubusercontent.com/a45099597ec83674df987c3aac5b1cd9f3ff6ecdaf79444a49bea27262ee1014/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f626c61636b667972652f6d732d67726170682d61732d6170702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/blackfyre/ms-graph-as-app)[![Total Downloads](https://camo.githubusercontent.com/9082988f780eb33ce1d74e7dc0a69edb51cb70e296deb05e081ec0143aa5c162/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626c61636b667972652f6d732d67726170682d61732d6170702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackfyre/ms-graph-as-app)

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
------------

[](#installation)

You can install the package via composer:

```
composer require blackfyre/ms-graph-as-app
```

### Lumen

[](#lumen)

You'll need to register the service provider in your `bootstrap/app.php`

```
$app->register(\Blackfyre\MsGraphAsApp\MsGraphAsAppServiceProvider::class);
```

Usage
-----

[](#usage)

### Lumen

[](#lumen-1)

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

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Meki](https://github.com/blackfyre)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

1904d ago

PHP version history (2 changes)1.0PHP ^8.0

1.0.2PHP ^7.3|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1991410?v=4)[Miklós Galicz](/maintainers/blackfyre)[@blackfyre](https://github.com/blackfyre)

---

Top Contributors

[![blackfyre](https://avatars.githubusercontent.com/u/1991410?v=4)](https://github.com/blackfyre "blackfyre (6 commits)")

---

Tags

blackfyrems-graph-as-app

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blackfyre-ms-graph-as-app/health.svg)

```
[![Health](https://phpackages.com/badges/blackfyre-ms-graph-as-app/health.svg)](https://phpackages.com/packages/blackfyre-ms-graph-as-app)
```

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[rapidez/core

Rapidez Core

1823.5k72](/packages/rapidez-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
