Skip to content

et-nik/flysystem-gameap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GameAP Daemon Flysystem

Build Status Quality Score Coverage Status

GameAP Daemon Files Adapter. This adapter uses gameap-daemon-client library.

Installation

composer require knik/flysystem-gameap

Usage

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);

About

Flysystem Adapter for GameAP Daemon File Server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages