PHP code example of inwendo / iw_client_webdav_php

1. Go to this page and download the library: Download inwendo/iw_client_webdav_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/ */

    

inwendo / iw_client_webdav_php example snippets


    


onfigure OAuth2 access token for authorization: password
Inwendo\WebDav\Common\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$api_instance = new Inwendo\WebDav\Common\Api\ContactApi();
$id = 56; // int | 

try {
    $api_instance->deleteContactItem($id);
} catch (Exception $e) {
    echo 'Exception when calling ContactApi->deleteContactItem: ', $e->getMessage(), PHP_EOL;
}


{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/inwendo/iw_client_webdav_php.git"
    }
  ],
  "