1. Go to this page and download the library: Download scaleflex/filerobot 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/ */
scaleflex / filerobot example snippets
php
new FilerobotAdapter(your_api_key)
php
use Scaleflex\Filerobot\FilerobotAdapter;
class Foo {
protected $filerobot;
public function __construct()
{
$this->filerobot = new FilerobotAdapter('fa5fe3303dd34e1da4810915c7c3fd6f');
}
public function bar () {
return $this->filerobot->list_file('/api-demo');
}
}