twistor / flysystem-guzzle
使用Guzzle的Flysystem HTTP适配器
v6.0.0
2015-12-22 12:59 UTC
Requires
- guzzlehttp/guzzle: ~6.0
- league/flysystem: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.1
This package is auto-updated.
Last update: 2024-08-26 08:36:40 UTC
README
使用Guzzle的Flysystem HTTP适配器
安装
composer require twistor/flysystem-guzzle
使用
<?php use GuzzleHttp\Client; use Twistor\Flysystem\GuzzleAdapter; $adapter = new GuzzleAdapter('http://example.com'); // Optionally, you can add a configured client. $client = new Client(); $adapter = new GuzzleAdapter('http://example.com', $client);