PHP Classes Library for O2System Framework Filesystem
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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

  • CSV File
  • INI File
  • JSON File
  • XML File
  • Zip File

Features Handlers

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

Composer Installation

The best way to install O2System Filesystem is to use Composer

composer require o2system/filesystem



use O2System\Filesystem\Files;

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

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

// Send the requested download file

Documentation is available on this repository wiki or visit this repository github page.

Ideas and Suggestions

Please kindly mail us at

Bugs and Issues

Please kindly submit your issues at Github so we can track all the issues along development and send a pull request to this repository.

System Requirements


Role Name
Founder and Lead Projects Steeven Andrian Salim
Documentation Steeven Andrian Salim
Github Pages Designer Teguh Rianto