2017 © Pedro Peláez
 

library filesystem

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

image

ehough/filesystem

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

  • Thursday, December 15, 2016
  • by ehough
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,091 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 42 Forks
  • 0 Open issues
  • 38 Versions
  • 0 % Grown

The README.md

filesystem

Build Status Project Status: Active - The project has reached a stable, usable state and is being actively developed. Latest Stable Version License, (*1)

Fork of Symfony's Filesystem component compatible with PHP 5.2+., (*2)

Motivation

Symfony's Filesystem component 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)., (*3)

Once PHP 5.3+ adoption levels break 90%, this library will be retired., (*4)

Differences from Symfony's 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, (*5)

An examples of class naming conversion:, (*6)

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

Usage

<?php

$filesystem = new ehough_filesystem_Filesystem();

$filesystem->copy($originFile, $targetFile, $override = false);

$filesystem->mkdir($dirs, $mode = 0777);

$filesystem->touch($files, $time = null, $atime = null);

$filesystem->remove($files);

$filesystem->exists($files);

$filesystem->chmod($files, $mode, $umask = 0000, $recursive = false);

$filesystem->chown($files, $user, $recursive = false);

$filesystem->chgrp($files, $group, $recursive = false);

$filesystem->rename($origin, $target);

$filesystem->symlink($originDir, $targetDir, $copyOnWindows = false);

$filesystem->makePathRelative($endPath, $startPath);

$filesystem->mirror($originDir, $targetDir, \Traversable $iterator = null, $options = array());

$filesystem->isAbsolutePath($file);

Releases and Versioning

Releases are synchronized with the upstream Symfony repository. e.g. ehough/filesystem v2.3.1 has merged the code from Symfony/Filesystem v2.3.1., (*7)

The Versions

15/12 2016

dev-develop

dev-develop https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

dev-master

9999999-dev https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.8.0

2.8.0.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.7

2.7.7.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.6

2.7.6.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.5

2.7.5.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.4

2.7.4.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.2

2.7.2.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.3

2.7.3.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.1

2.7.1.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.7.0

2.7.0.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.8

2.6.8.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.9

2.6.9.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.7

2.6.7.0 https://symfony.com

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.6

2.6.6.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.5

2.6.5.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.3

2.6.3.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.4

2.6.4.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.1

2.6.1.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.6.0

2.6.0.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.5.8

2.5.8.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.5.7

2.5.7.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.5.5

2.5.5.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

01/12 2015

v2.5.6

2.5.6.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

24/09 2014

v2.5.4

2.5.4.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

22/08 2014

v2.5.3

2.5.3.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

22/08 2014

v2.5.2

2.5.2.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

22/08 2014

v2.5.1

2.5.1.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

19/06 2014

v2.5.0

2.5.0.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

30/04 2014

v2.4.4

2.4.4.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

05/04 2014

v2.4.3

2.4.3.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

04/02 2014

v2.4.1

2.4.1.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

04/02 2014

v2.4.2

2.4.2.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

04/12 2013

v2.4.0

2.4.0.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

19/08 2013

v2.3.3

2.3.3.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

17/07 2013

v2.3.1

2.3.1.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

19/05 2013

1.0.1

1.0.1.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

filesystem

28/03 2013

1.0.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

  • php >=5.2

 

filesystem