twistor / flysystem-guzzle

使用Guzzle的Flysystem HTTP适配器

v6.0.0 2015-12-22 12:59 UTC

This package is auto-updated.

Last update: 2024-08-26 08:36:40 UTC


README

使用Guzzle的Flysystem HTTP适配器

Author Software License Packagist Version

  • Guzzle 3 构建状态 覆盖率状态
  • Guzzle 5 构建状态 覆盖率状态
  • Guzzle 6 构建状态 覆盖率状态

安装

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