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

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

ehough/filesystem
=================

Fork of Symfony's Filesystem Component compatible with PHP 5.2+

v2.8.0(10y ago)11.1k11MITPHPPHP &gt;=5.2

Since Mar 28Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ehough/filesystem)[ Packagist](https://packagist.org/packages/ehough/filesystem)[ Docs](https://symfony.com)[ RSS](/packages/ehough-filesystem/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelog (7)Dependencies (1)Versions (38)Used By (1)

filesystem
----------

[](#filesystem)

[![Build Status](https://camo.githubusercontent.com/afb32abb47e87bccd8cf81222aa2013e5a213e9b79cc43c061cabf65f22424e7/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f65686f7567682f66696c6573797374656d2e706e67)](http://travis-ci.org/ehough/filesystem)[![Project Status: Unsupported - The project has reached a stable, usable state but the author(s) have ceased all work on it. A new maintainer may be desired.](https://camo.githubusercontent.com/baae56ff2a4e564adcf10fe13a639b7e4aaf1d62054fd5086a2e570ecc3637e5/687474703a2f2f7777772e7265706f7374617475732e6f72672f6261646765732f6c61746573742f756e737570706f727465642e737667)](http://www.repostatus.org/#unsupported)[![Latest Stable Version](https://camo.githubusercontent.com/1dd267d0e3827530e35a6d9fa05c47315c4f0a8b8eebefdb75ca97a3cfbc349a/68747470733a2f2f706f7365722e707567782e6f72672f65686f7567682f66696c6573797374656d2f762f737461626c65)](https://packagist.org/packages/ehough/filesystem)[![License](https://camo.githubusercontent.com/77ad15b1151bce8b1a4ec155fb3a3e81942adec8d68c5e44b3fcfce6e4166c0d/68747470733a2f2f706f7365722e707567782e6f72672f65686f7567682f66696c6573797374656d2f6c6963656e7365)](https://packagist.org/packages/ehough/filesystem)

**This library is no longer supported or maintained as PHP 5.2 usage levels have finally dropped below 10%**

Fork of [Symfony's Filesystem component](https://github.com/symfony/Filesystem) compatible with PHP 5.2+.

### Motivation

[](#motivation)

[Symfony's Filesystem component](https://github.com/symfony/Filesystem) is a fantastic filesystem library, but it's only compatible with PHP 5.3+. While 99% of PHP servers run PHP 5.2 or higher, 13% of all servers are still running PHP 5.2 or lower ([source](http://w3techs.com/technologies/details/pl-php/5/all)).

### Differences from [Symfony's Filesystem component](https://github.com/symfony/EventDispatcher)

[](#differences-from-symfonys-filesystem-component)

The primary difference is naming conventions of the Symfony classes. Instead of the `\Symfony\Component\Filesystem` namespace (and sub-namespaces), prefix the Symfony class names with `ehough_filesystem` and follow the [PEAR naming convention](http://pear.php.net/manual/en/standards.php)

An examples of class naming conversion:

```
\Symfony\Component\Filesystem\Filesystem   ----->    ehough_filesystem_Filesystem

```

### Usage

[](#usage)

```
