PHPackages                             twistor/flysystem-http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. twistor/flysystem-http

ActiveLibrary[HTTP &amp; Networking](/categories/http)

twistor/flysystem-http
======================

An HTTP adapter for Flysystem that uses basic PHP functions.

0.2.0(9y ago)21253.8k↑17.7%10[3 issues](https://github.com/twistor/flysystem-http/issues)[1 PRs](https://github.com/twistor/flysystem-http/pulls)3MITPHP

Since Nov 18Pushed 7y agoCompare

[ Source](https://github.com/twistor/flysystem-http)[ Packagist](https://packagist.org/packages/twistor/flysystem-http)[ Docs](https://github.com/twistor/flysystem-http)[ RSS](/packages/twistor-flysystem-http/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (3)

Flysystem HTTP Adapter
======================

[](#flysystem-http-adapter)

[![Author](https://camo.githubusercontent.com/500fb500f7a40e695210673a6780846051d0a17b3e1f79138f08165460f2999f/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4063687269736c657070616e656e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/chrisleppanen)[![Build Status](https://camo.githubusercontent.com/cf3fc860bb15183bec7dfcf90371b8cef509f8e188b4e159bca591956384162b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f74776973746f722f666c7973797374656d2d687474702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/twistor/flysystem-http)[![Coverage Status](https://camo.githubusercontent.com/1375094787e5481e1be5df95a706a255686085a4dfe21ca6bf48e2e57f0278d5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f74776973746f722f666c7973797374656d2d687474702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/twistor/flysystem-http/code-structure)[![Quality Score](https://camo.githubusercontent.com/e34ef352e68c0c6a5901a6d59cc2ccb4f2328412b60e202a9cddd64f0214496c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f74776973746f722f666c7973797374656d2d687474702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/twistor/flysystem-http)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/179c7dbaac3eede227ae54cfe9bfb5863805560936bd2cad7c7ea40333e33bbf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74776973746f722f666c7973797374656d2d687474702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/twistor/flysystem-http)

This adapter uses basic PHP functions to access HTTP resources. It is read only.

Installation
------------

[](#installation)

```
composer require twistor/flysystem-http
```

Usage
-----

[](#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.

```
use Twistor\Flysystem\Http\HttpAdapter;

$supportsHead = false;

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

PHP context options can be set using the third parameter.

```
use Twistor\Flysystem\Http\HttpAdapter;

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

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5125606781d4fe5f77b01cd43ae43863dd8d5ccde938e7b25dc7a40d0d46eb07?d=identicon)[twistor](/maintainers/twistor)

---

Top Contributors

[![twistor](https://avatars.githubusercontent.com/u/42400?v=4)](https://github.com/twistor "twistor (29 commits)")

---

Tags

flysystem-adapterhttpFlysystem

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/twistor-flysystem-http/health.svg)

```
[![Health](https://phpackages.com/badges/twistor-flysystem-http/health.svg)](https://phpackages.com/packages/twistor-flysystem-http)
```

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.0B3.2k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.1k1.0B5.5k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[psr/http-client

Common interface for HTTP clients

1.7k680.7M2.1k](/packages/psr-http-client)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)[psr/link

Common interfaces for HTTP links

2.5k144.1M68](/packages/psr-link)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
