1. Go to this page and download the library: Download sandwave-io/office-365-php 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/ */
sandwave-io / office-365-php example snippets
declare(strict_types = 1);
use SandwaveIo\Office365\Office\OfficeClient;
$client = new OfficeClient(
'https://my.awesome.domain',
'username',
'password',
);