knik / flysystem-gameap
Flysystem Adapter for GameAP Daemon File Server
Installs: 6 527
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=5.6.0
- knik/gameap-daemon-client: *
- league/flysystem: ~1.0
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ^5.7.25
README
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);