#O365Graph-Sdk
O365Graph-Sdk is a php sdk for Microsoft Graph API which was documented here. It allows to you manage your Office365 tenant with your daemon applications. Before you start, you should read this article to create credentials.
$credentials = [
'tenant_id' => '<tenant_id>',
'client_id' => '<client_id>,
'client_secret' => '<client_secret>',
'grant_type' => 'client_credentials',
'resource' => 'https://graph.microsoft.com'
];