Download the PHP package prasadchinwal/microsoft-graph without Composer
On this page you can find all versions of the php package prasadchinwal/microsoft-graph. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download prasadchinwal/microsoft-graph
More information about prasadchinwal/microsoft-graph
Files in prasadchinwal/microsoft-graph
Package microsoft-graph
Short Description Package for working with Microsoft Graph API
License MIT
Informations about the package microsoft-graph
Laravel Microsoft Graph
A wrapper to integrate Microsoft Graph Api's to a Laravel Application.
Installation
composer require prasadchinwal/microsoft-graph
- Run
php artisan vendor:publish
and publish the config file. - Edit the
config/microsoft-graph.php
file to configure your settings. You need Tenant, Client ID and Client Secret.
Usage:
User API
-
Get users: Documentation
Retrieves all the users.
- Get user from ID: Documentation
Retrieves a user from principalName.
Calendar Api
-
Get user Calendars: Documentation
Retrieves the users Calendar.
-
Get user Schedule : Documentation
Retrieves the users Schedule.
- Get Calendar view for a user : Documentation
Retrieves the calendar view for the user.
Events API
-
Get user Calendar events : Documentation
Retrieves the users Calendar Events.
You can also filter the events:
For List of all filters please refer to docs https://learn.microsoft.com/en-us/graph/filter-query-parameter?tabs=http.
-
Create new Event for a user : Documentation
Creates an event in calendar for the user.
- Generate Event class using
php artisan make:graph-event TestGraphEvent
- Edit the Event class as required filling in necessary details about the event.
- Generate Event class using
-
Update an existing Event for a user : Documentation
Updates an event in calendar for the user.
- Edit the Event class as required filling in necessary details about the event.
-
Cancel an event for a user : Documentation
Cancels the event in calendar for the user.
-
Accept an event for a user : Documentation
Accept the event in calendar for the user.
- Decline an event for a user : Documentation
Decline the event in calendar for the user.
- Edit the Event class as required filling in necessary details about the event.