Download the PHP package andrewsauder/microsoft-services without Composer
On this page you can find all versions of the php package andrewsauder/microsoft-services. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andrewsauder/microsoft-services
More information about andrewsauder/microsoft-services
Files in andrewsauder/microsoft-services
Package microsoft-services
Short Description PHP wrapper for easy implementation of Microsoft Graph services
License MIT
Informations about the package microsoft-services
Microsoft Services
PHP wrapper for easy implementation of Microsoft Graph services
Requirement
Version >=1.2 requires PHP >=8.1
Installation
composer require andrewsauder/microsoft-services
Service Configuration
Files Usage
Get List of Files
From Root Directory
From Subdirectory
Upload File
Into Root Directory
Into Subdirectory
Delete File
Mail Usage
If no user token is provided, the application token will be used.
If the application token is being used, verify that the Azure application has correct Mail.X permissions for the email address being used. To limit application access to only certain mailboxes, use ExchangeOnline Powershell to apply access policy. More info https://learn.microsoft.com/en-us/powershell/module/exchange/new-applicationaccesspolicy?view=exchange-ps
If a user access token is provided when creating the service (mail($config, 'user-access-token-string')
), verify that
the user has 'send on behalf' of or 'send as' permissions configured properly in Office 365.
Send Email
If the from address is not provided, the default from address in the config will be used.
Get All Messages
Get All Messages from Specific Folder
Get All Folders
Get Attachments for Message
Delete Message
User Usage
Get All Users in Organization
Get User by User Principal Name
Get User by Id
Get Users By Advanced Filter
See https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=http for filter details
All versions of microsoft-services with dependencies
microsoft/microsoft-graph Version ^1.53
guzzlehttp/guzzle Version ^7.4.1
thenetworg/oauth2-azure Version ^2.0
ext-fileinfo Version *