1. Go to this page and download the library: Download files.com/files-php-sdk 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/ */
files.com / files-php-sdk example snippets
// set your subdomain or custom domain
\Files\Files::setBaseUrl('https://MY-SUBDOMAIN.files.com');
\Files\Files::setApiKey('my-api-key');
$user = new \Files\Model\User($params, array('api_key' => 'my-api-key'));