PHPackages                             lechimp-p/flightcontrol - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. lechimp-p/flightcontrol

ActiveLibrary[File &amp; Storage](/categories/file-storage)

lechimp-p/flightcontrol
=======================

An interface for iterationr and recursion in directories over the leagues flysystem.

1.0.0(5y ago)1578GPL-3.0-or-laterPHPPHP &gt;=7.3

Since Jul 23Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (8)Used By (0)

[![Build Status](https://github.com/lechimp-p/flightcontrol/actions/workflows/checks.yml/badge.svg?branch=master)](https://github.com/lechimp-p/flightcontrol/actions/workflows/checks.yml)[![Scrutinizer](https://camo.githubusercontent.com/97f9166ef3f90c2cfde88b75040c8727db78ad64da8a6bf04c42584da603df39/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c656368696d702d702f666c69676874636f6e74726f6c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lechimp-p/flightcontrol)[![Coverage](https://camo.githubusercontent.com/edb36887a821aba33959c5735365b4dbe655d34868b739d962c56cad397a36e4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c656368696d702d702f666c69676874636f6e74726f6c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/lechimp-p/flightcontrol)

Flightcontrol
=============

[](#flightcontrol)

**An interface for iteration and recursion over the Leagues [flysystem](https://github.com/thephpleague/flysystem).**

*This README.md is also a literate PHP-file.*

*This code is released under the [GPLv3 License](LICENSE)*

Usage
-----

[](#usage)

### Initialisation

[](#initialisation)

The flightcontrol is initialized over a flysystem, e.g. as such:

```

```

Make sure us use the `Local::SKIP_LINKS`-option when using flightcontrol, as it will only handle files and directories.

### Filesystem Objects

[](#filesystem-objects)

The flightcontrol can give you objects from the flystem:

```

```

Note that you could use `Flightcontrol::get` to either get a directory or file, and `Flightcontrol::directory` to get a directory or `Flightcontrol::file` to get a file respectively. These getters will return null if there is no matching object on the flysystem.

You could also use `FSObject::toDirectory` or `FSObject::toFile` to force an FSObject to a file or directory, where you get a `null` if the object is not what you want it to be.

### Properties of Filesystem Object

[](#properties-of-filesystem-object)

The objects returned from the flightcontrol have different properties:

```

```

`File::content` returns the content of the file as string. `Directory::contents`gives you a list of filesystem objects in the directory.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~354 days

Recently: every ~527 days

Total

7

Last Release

1828d ago

Major Versions

0.12.0 → 1.0.02021-05-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5079221?v=4)[Richard Klees](/maintainers/lechimp-p)[@lechimp-p](https://github.com/lechimp-p)

---

Top Contributors

[![lechimp-p](https://avatars.githubusercontent.com/u/5079221?v=4)](https://github.com/lechimp-p "lechimp-p (179 commits)")

---

Tags

filesystemFlysystem

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/lechimp-p-flightcontrol/health.svg)

```
[![Health](https://phpackages.com/badges/lechimp-p-flightcontrol/health.svg)](https://phpackages.com/packages/lechimp-p-flightcontrol)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem-local

Local filesystem adapter for Flysystem.

225231.8M39](/packages/league-flysystem-local)[oneup/flysystem-bundle

Integrates Flysystem filesystem abstraction library to your Symfony project.

64422.9M66](/packages/oneup-flysystem-bundle)[league/flysystem-bundle

Symfony bundle integrating Flysystem into Symfony applications

40129.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)

PHPackages © 2026

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