PHPackages                             o2system/filesystem - 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. [Framework](/categories/framework)
4. /
5. o2system/filesystem

ActivePackage[Framework](/categories/framework)

o2system/filesystem
===================

PHP Filesystem Library

v1.0.94(6y ago)01.8k13MITPHPPHP ^7.2.0

Since Aug 3Pushed 5y ago2 watchersCompare

[ Source](https://github.com/o2system/filesystem)[ Packagist](https://packagist.org/packages/o2system/filesystem)[ RSS](/packages/o2system-filesystem/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (1)Versions (26)Used By (3)

[![alt text](https://repository-images.githubusercontent.com/68260766/7c1c3400-5c9f-11ea-9699-82997594a72b "O2System Filesystem Atom")](https://repository-images.githubusercontent.com/68260766/7c1c3400-5c9f-11ea-9699-82997594a72b)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e007f08750eecdef188c714424a133b7e4d9dfe4be5fa2034fa0e355c0ace267/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f66696c6573797374656d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/filesystem/?branch=master)[![Build Status](https://camo.githubusercontent.com/4cdc0242f2f535e52d74a2d3e0b9a75c11b0e54952087a21e9312827bcc8d280/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f66696c6573797374656d2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/filesystem/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/4b773ddecb01532af8def9cd19cba0179ac69194c134da388135448c554db0ae/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f66696c6573797374656d2f762f737461626c65)](https://packagist.org/packages/o2system/filesystem)[![Total Downloads](https://camo.githubusercontent.com/af91c70ce21411d5346d8e9377e4cf0a06eab30598734efdd893c8f7a8a97a24/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f66696c6573797374656d2f646f776e6c6f616473)](https://packagist.org/packages/o2system/filesystem)[![License](https://camo.githubusercontent.com/2d960aa79fa0690a881c593b75606fafbd392ffa38bfb1aceba0745793e13412/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f66696c6573797374656d2f6c6963656e7365)](https://packagist.org/packages/o2system/filesystem)

O2System Filesystem
===================

[](#o2system-filesystem)

O2System Filesystem is an Open Source PHP Convenience Library for reading, writing and appending data from and into files and directories, which is built for working more powerfully with O2System Framework, but it also can be used with other frameworks as a standalone version with limited features.

### Supported Files Processor and Generator

[](#supported-files-processor-and-generator)

- CSV File
- INI File
- JSON File
- XML File
- Zip File

### Features Handlers

[](#features-handlers)

- File Handler and Manipulation
- Directory Handler and Manipulation
- Uploaders
- Downloaders with speed limit and resumeable support
- File Transfer Protocol (FTP)

### Composer Installation

[](#composer-installation)

The best way to install O2System Filesystem is to use [Composer](https://getcomposer.org)

```
composer require o2system/filesystem

```

> Packagist:

### Usage

[](#usage)

```
use O2System\Filesystem\Files;

// Write a CSV file example
$csvFile = new Files\CsvFile();
$csvFile->createFile( 'path/to/files/filename.csv' );
$csvFile->store( 'foo', 'bar' );
$csvFile->writeFile();

// File download handler
$downloader = new Handlers\Downloader( 'path/to/files/downloadthis.zip' );
$downloader
    ->speedLimit( 1024 )
    ->resumeable( true );

// Send the requested download file
$downloader->download();
```

Documentation is available on this repository [wiki](https://github.com/o2system/filesystem/wiki) or visit this repository [github page](https://o2system.github.io/filesystem).

### Ideas and Suggestions

[](#ideas-and-suggestions)

Please kindly mail us at [hello@o2system.id](mailto:hello@o2system.id%5D)

### Bugs and Issues

[](#bugs-and-issues)

Please kindly submit your [issues at Github](http://github.com/o2system/filesystem/issues) so we can track all the issues along development and send a [pull request](http://github.com/o2system/filesystem/pulls) to this repository.

### System Requirements

[](#system-requirements)

- PHP 7.2+ with FileInfo (finfo) extension
- [Composer](https://getcomposer.org)
- [O2System Kernel](https://github.com/o2system/kernel)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 81.6% 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 ~44 days

Recently: every ~95 days

Total

24

Last Release

2230d ago

PHP version history (3 changes)v1.0.0-betaPHP &gt;=5.6.0

v1.0.50PHP ~7.2.0

v1.0.51PHP ^7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e2ac781bdba53fdce5ac7a9f090a4afd42b18766646036370661ffefde7811de?d=identicon)[steevenz](/maintainers/steevenz)

![](https://www.gravatar.com/avatar/ccce1c77fabdaf8734f54c6b1a82324c4ad1278a62910c7cab0b5b15d941cf7b?d=identicon)[o2system](/maintainers/o2system)

---

Top Contributors

[![steevenz](https://avatars.githubusercontent.com/u/218405?v=4)](https://github.com/steevenz "steevenz (40 commits)")[![turahe](https://avatars.githubusercontent.com/u/6832622?v=4)](https://github.com/turahe "turahe (8 commits)")[![o2system-codeworks](https://avatars.githubusercontent.com/u/293292195?v=4)](https://github.com/o2system-codeworks "o2system-codeworks (1 commits)")

---

Tags

phpframeworkdriverutilitieslibraries

### Embed Badge

![Health badge](/badges/o2system-filesystem/health.svg)

```
[![Health](https://phpackages.com/badges/o2system-filesystem/health.svg)](https://phpackages.com/packages/o2system-filesystem)
```

###  Alternatives

[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k91](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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