Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/et-nik/flysystem-gameap
Flysystem Adapter for GameAP Daemon File Server
https://github.com/et-nik/flysystem-gameap
flysystem-adapter gameap php
Last synced: 9 days ago
JSON representation
Flysystem Adapter for GameAP Daemon File Server
- Host: GitHub
- URL: https://github.com/et-nik/flysystem-gameap
- Owner: et-nik
- License: mit
- Created: 2018-11-12T22:34:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T21:02:48.000Z (about 4 years ago)
- Last Synced: 2024-12-23T13:48:05.236Z (17 days ago)
- Topics: flysystem-adapter, gameap, php
- Language: PHP
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GameAP Daemon Flysystem
[![Build Status](https://travis-ci.com/et-nik/flysystem-gameap.svg?branch=master)](https://travis-ci.com/et-nik/flysystem-gameap)
[![Quality Score](https://img.shields.io/scrutinizer/g/et-nik/flysystem-gameap.svg?style=flat-square)](https://scrutinizer-ci.com/g/et-nik/flysystem-gameap)
[![Coverage Status](https://scrutinizer-ci.com/g/et-nik/flysystem-gameap/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/et-nik/flysystem-gameap/code-structure)GameAP Daemon Files Adapter.
This adapter uses [gameap-daemon-client](https://github.com/et-nik/gameap-daemon-client) library.## Installation
```bash
composer require knik/flysystem-gameap
```## Usage
```php
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);
```