yespbs / egnyte
使用Egnyte公开API管理Egnyte上传
0.0.2
2017-09-11 05:30 UTC
Requires
- php: >=5.6.4
- php-curl-class/php-curl-class: ^7.0
Requires (Dev)
- phpunit/phpunit: ^6.0
- vlucas/phpdotenv: ^2.4@dev
This package is not auto-updated.
Last update: 2024-09-29 02:46:46 UTC
README
Egnyte PHP客户端
更新
- 添加了对复制的支持
- 添加了对listDir的支持
- 重命名了psr-4方法
- @todo 分块上传
- @todo 测试用例
使用方法
$client = new \Yespbs\Egnyte\Client( 'domain', 'oauth token' ); $fileClient = new \Yespbs\Egnyte\Model\File( $client ); // OR $fileClient = new \Yespbs\Egnyte\Model\File( null, 'domain', 'oauth token' ); $response = $fileClient->upload('/Shared/Documents/test.txt', 'test file upload' );