New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

chrisreedio/laravel-azure-graph

Provides an interface to the Azure Graph
6,490 1
Install
composer require chrisreedio/laravel-azure-graph
Latest Version:v1.0.0
PHP:^8.2
Laravel:10 – 13
License:MIT
Last Updated:Jun 22, 2026
Links: GitHub  ·  Packagist
Maintainer: chrisreedio

Provides an interfaces to the Azure Graph

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Provides an interface to the Azure Graph API.

[!WARNING]
This package is still in development and is not ready for production use.

It currently only supports delegated authentication via a user supplied token.

The only call supported is to fetch a user's groups via the memberOf endpoint.

Installation

You can install the package via composer:

composer require chrisreedio/laravel-azure-graph

Usage

This sample shows how to get all of a user's groups via a delegated call to the memberOf endpoint.

$graph = new GraphConnector('user-token');
$paginator = $graph->paginate(new MemberOfRequest());
$adGroups = $paginator->collect();

// Dump the user's groups
dd($adGroups->pluck('displayName')->all());

Config

You can publish the config file with:

php artisan vendor:publish --tag="laravel-azure-graph-config"

This is the contents of the published config file:

return [
    'pagination' => [
        'limit' => 100,
    ],
];

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

chrisreedio/filament-policy-generator

Generator Laravel Security Policies for Models/Resources

6,774 0
chrisreedio/socialment-bastion-azure

Provides a Bridge between Socialment, Bastion, and Azure AD.

5,209 1
chrisreedio/api-amigo

API Quota Management and Analytics

2,197 1
chrisreedio/bastion

SSO Powered Access Control for Filament

6,255 3

Version History

Version Released PHP Laravel License
v1.0.0 ^8.2 MIT
v0.3.0 ^8.2 MIT
v0.2.3 ^8.2 MIT
v0.2.2 ^8.2 MIT
v0.2.1 ^8.2 MIT
Pre-releases (1)
Version Released PHP Laravel License
v0.1.0-beta1 ^8.2 ^10.0 MIT