PHPackages                             h4cc/stack-flysystem - 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. h4cc/stack-flysystem

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

h4cc/stack-flysystem
====================

A Stack HttpKernel for Flysystem filesystems as a single purpose application.

v1.0.0(11y ago)1825MITPHPPHP &gt;=5.4.0

Since Sep 2Pushed 11y ago3 watchersCompare

[ Source](https://github.com/h4cc/stack-flysystem)[ Packagist](https://packagist.org/packages/h4cc/stack-flysystem)[ RSS](/packages/h4cc-stack-flysystem/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

h4cc/StackFlysystem
===================

[](#h4ccstackflysystem)

This implementation of a HttpKernelInterface is providing a REST Api and using a flysystem abstraction as storage backend.

[![Build Status](https://camo.githubusercontent.com/f95fc27ec0fb24848e92766f52e170a6a6a9f37dfc527a8d93c0cf281857dcf1/68747470733a2f2f7472617669732d63692e6f72672f683463632f737461636b2d666c7973797374656d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/h4cc/stack-flysystem)

A idea inspired by [StackPHP](http://stackphp.com/). Next to middlewares providing extra functionality for the HttpKernelInterface, there might also be some single purpose applications like this one. These tiny apps can be used to construct larger systems with ease, like middlewares do.

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

[](#installation)

### Composer

[](#composer)

The recommended way to install `h4cc/stack-flysystem` is through [Composer](http://getcomposer.org/):

```
{
    "require": {
        "h4cc/stack-flysystem": "@stable"
    }
}
```

**Protip:** you should browse the [`h4cc/stack-flysystem`](https://packagist.org/packages/h4cc/stack-flysystem)page to choose a stable version to use, avoid the `@stable` meta constraint.

### Development and Standalone

[](#development-and-standalone)

Clone this repo and run composer:

```
git clone git@github.com:h4cc/stack-flysystem.git
cd stack-flysystem
curl -sS https://getcomposer.org/installer | php
php composer.phar install

```

Example usage
-------------

[](#example-usage)

Start the application with PHP internal webserver.

```
cd web
php -S 0.0.0.0:8080 index.php

```

Using some curl Requests to try all the Handlers.

```
# Downloading a image from Google
curl -O https://www.google.de/images/srpr/logo11w.png

# List empty dir (except .gitkeep file).
curl -X GET http://localhost:8080/

# POST image.
curl -X POST --data-binary @logo11w.png http://localhost:8080/foo/logo.png

# List again.
curl -X GET http://localhost:8080/
curl -X GET http://localhost:8080/foo/

# Fetch image
curl -X GET http://localhost:8080/foo/logo.png

# Replace image
curl -X PUT --data-binary @logo11w.png http://localhost:8080/foo/logo.png

# Delete image
curl -X DELETE http://localhost:8080/foo/logo.png

# List directory
curl -X GET http://localhost:8080/foo/

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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

Unknown

Total

1

Last Release

4275d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ce109f0fc05421b5db21c1f35e9ff78be9bae38f5b6e3bd6121f2eb2417cf53?d=identicon)[h4cc](/maintainers/h4cc)

---

Top Contributors

[![h4cc](https://avatars.githubusercontent.com/u/2981491?v=4)](https://github.com/h4cc "h4cc (14 commits)")[![frankdejonge](https://avatars.githubusercontent.com/u/534693?v=4)](https://github.com/frankdejonge "frankdejonge (1 commits)")

---

Tags

httprestfilesstack

### Embed Badge

![Health badge](/badges/h4cc-stack-flysystem/health.svg)

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

###  Alternatives

[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M267](/packages/nategood-httpful)[jacwright/restserver

php rest server for very light-weight REST APIs

51070.0k3](/packages/jacwright-restserver)[api-platform/state

API Platform state interfaces

223.4M57](/packages/api-platform-state)[api-platform/validator

API Platform validator component

223.2M10](/packages/api-platform-validator)

PHPackages © 2026

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