twistor/flysystem-guzzle

An HTTP adapter for Flysystem that uses Guzzle.

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

This package is auto-updated.

Last update: 2024-11-26 09:09:13 UTC


README

An HTTP adapter for Flysystem that uses Guzzle.

Author Software License Packagist Version

  • Guzzle 3 Build Status Coverage Status
  • Guzzle 5 Build Status Coverage Status
  • Guzzle 6 Build Status Coverage Status

Installation

composer require twistor/flysystem-guzzle

Usage

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