PHP code example of chrisreedio / laravel-azure-graph
1. Go to this page and download the library: Download chrisreedio/laravel-azure-graph library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
chrisreedio / laravel-azure-graph example snippets
$graph = new GraphConnector('user-token');
$paginator = $graph->paginate(new MemberOfRequest());
$adGroups = $paginator->collect();
// Dump the user's groups
dd($adGroups->pluck('displayName')->all());
return [
'pagination' => [
'limit' => 100,
],
];
bash
php artisan vendor:publish --tag="laravel-azure-graph-config"