2017 © Pedro Peláez
 

library flysystem-http

An HTTP adapter for Flysystem that uses basic PHP functions.

image

twistor/flysystem-http

An HTTP adapter for Flysystem that uses basic PHP functions.

  • Saturday, November 19, 2016
  • by twistor
  • Repository
  • 1 Watchers
  • 12 Stars
  • 27,882 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 24 % Grown

The README.md

Flysystem HTTP Adapter

Author Build Status Coverage Status Quality Score Software License Packagist Version, (*1)

This adapter uses basic PHP functions to access HTTP resources. It is read only., (*2)

Installation

composer require twistor/flysystem-http

Usage

use League\Flysystem\Filesystem;
use Twistor\Flysystem\Http\HttpAdapter;

$filesystem = new Filesystem(new HttpAdapter('http://example.com'));

$contents = $filesystem->read('file.txt');

By default, metadata will be retrieved via HEAD requests. This can be disabled., (*3)

use Twistor\Flysystem\Http\HttpAdapter;

$supportsHead = false;

$adapter = new HttpAdapter('http://example.com', $supportsHead);

PHP context options can be set using the third parameter., (*4)

use Twistor\Flysystem\Http\HttpAdapter;

$context = [
    'ssl' => [
        'verify_peer' => false,
        'verify_peer_name' => false,
    ],
];

$adapter = new HttpAdapter('http://example.com', true, $context);

The Versions

19/11 2016

dev-master

9999999-dev https://github.com/twistor/flysystem-http

An HTTP adapter for Flysystem that uses basic PHP functions.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Leppanen

http flysystem

19/11 2016

0.2.0

0.2.0.0 https://github.com/twistor/flysystem-http

An HTTP adapter for Flysystem that uses basic PHP functions.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Leppanen

http flysystem

19/11 2016

0.1.0

0.1.0.0 https://github.com/twistor/flysystem-http

An HTTP adapter for Flysystem that uses basic PHP functions.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Chris Leppanen

http flysystem