PHP code example of shitware-ltd / flysystem-msgraph

1. Go to this page and download the library: Download shitware-ltd/flysystem-msgraph 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/ */

    

shitware-ltd / flysystem-msgraph example snippets


$graph = new \Microsoft\Graph\Graph();
$graph->setAccessToken($your_access_token);
$adapter = new \ShitwareLtd\FlysystemMsGraph\Adapter($graph, $your_drive_id);