1. Go to this page and download the library: Download meisam-mulla/sfs-client 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/ */
meisam-mulla / sfs-client example snippets
use MeisamMulla\SfsClient\StretchFS;
$client = new StretchFS([
'username' => 'your_username', // optional if you have a token
'password' => 'your_password', // optional if you have a token
'domain' => 'sfsserver.net', // SFS server
'port' => 8161, // Default port
'token' => 'your_token', // If you already have a token
]);