Skip to content

Releases: dcblogdev/laravel-microsoft-graph

Added support for prefix paths in files resource

14 Aug 23:53
Compare
Choose a tag to compare

Changed files to support passing the prefix to the paths such as me or groups/$groupId or sites.

Example

//set a custom prefix to a set group
MsGraph::files()->getFiles($this->path, "groups/$groupId");

//use the default (me)
MsGraph::files()->getFiles($this->path);

added file methods

07 Feb 15:59
Compare
Choose a tag to compare

Added methods:

List files and folders

MsGraph::files()->getFiles($path = null, $order = 'asc');

List drive

MsGraph::files()->getDrive();

List drives

MsGraph::files()->getDrives();

Search items

MsGraph::files()->search($term);

Download file by id

MsGraph::files()->downloadFile($id)

Delete file by id

MsGraph::files()->deleteFile($id)

Create folder pass the folder and the path where the folder will be created if no path is provided the root is used.

MsGraph::files()->createFolder($name, $path = null)

Get file/folder item by id

MsGraph::files()->getItem($id)

Rename file/folder pass the new name and the id

MsGraph::files()->rename($name, $id)

Upload file passes the name and the uploadPath (where the file is on your server) and the path to where the file will be stored if no path is provided the root is used.

MsGraph::files()->upload($name, $uploadPath, $path = null)

Fix issue when connecting with specified ID

27 Jan 20:55
9cf5c5b
Compare
Choose a tag to compare
Merge pull request #14 from stromgren/explicit-id

Fix issue when connecting with specified ID

supports login ability

31 Dec 10:15
9c5c24a
Compare
Choose a tag to compare

Added new methods: isConnected() and disconnect()
fires an event when a user logs in
config uses tenant id for authorise urls when set in .env
added a publishing option for listeners
added an event NewMicrosoft365SignInEvent that fires on login.

patch for guzzle 6/7

02 Dec 17:28
de95ea3
Compare
Choose a tag to compare
v3.0.6

Update readme.md

Calling the API with the id

17 Jun 09:47
de95ea3
Compare
Choose a tag to compare

When calling the connect-method with explicit id it would fail trying to retrieve the users email address. This issue is fixed by calling the API with the id.

Support for Guzzle 6 and 7

27 Oct 12:43
d75e5cf
Compare
Choose a tag to compare

Added support for both Guzzle 6 and 7 since older versions of Laravel required Guzzle 6.

Laravel 8 and Guzzle 7 support

13 Oct 15:01
7a3b325
Compare
Choose a tag to compare

Guzzle has been upgraded from version 6 to 7 and Laravel 8 (illuminate/support) has been added.

Base url has also changed from the /beta endpoing to 1.0

https://graph.microsoft.com/v1.0/

added support for Laravel 8

08 Sep 08:29
b39c646
Compare
Choose a tag to compare
v3.0.3

Create FUNDING.yml

Added support for Laravel 7

03 Mar 07:27
6886b2a
Compare
Choose a tag to compare
v3.0.1

Added support for Laravel 7