GameAP Daemon Files Adapter. This adapter uses gameap-daemon-client library.
composer require knik/flysystem-gameap
use Knik\Flysystem\Gameap\GameapAdapter;
use League\Flysystem\Filesystem;
$adapter = new GameapAdapter([
'host' => 'localhost',
'port' => 31717,
'username' => 'username',
'password' => 'password',
'serverCertificate' => '/path/to/server.crt',
'localCertificate' => '/path/to/client.crt',
'privateKey' => '/path/to/private.key',
'privateKeyPass' => 'pr1vateKeyPa$$',
'root' => '/home/gameap',
'timeout' => 10,
]);
$filesystem = new Filesystem($adapter);