2017 © Pedro Peláez
 

library fs-ifs

Abstraction of file system functions

image

axy/fs-ifs

Abstraction of file system functions

  • Monday, January 8, 2018
  • by axy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 94 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

axy\fs\ifs

Abstraction of file system functions (PHP)., (*1)

Latest Stable Version Minimum PHP Version Build Status Coverage Status License, (*2)

  • The library does not require any dependencies.
  • Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).
  • Install: composer require axy/fs-ifs.
  • License: MIT.

Documentation

Documentation in Russian., (*3)

The library reproduces built-in file system functions., (*4)

Differences:, (*5)

  • The application code to access files not via global functions, and via an object with a particular interface. This object is easily replaced by another implementation. Can use a mock for tests (it does not work with real file system, but with memory).
  • Exceptions instead of WARNINGs.
  • Separate class for work with opened file.
  • Several results are structured as objects (Stat, MetaData) instead associative arrays. It improves the autocomplete.
  • Method names are better structured.
  • Specific implementations can implement additional features. Log, an isolated directory and etc.

Implementations

This package defines only interfaces. Specific implementations are located in other packages. For example, work with real FS is axy/fs-real., (*6)

Classes and interfaces

The Versions

08/01 2018

dev-master

9999999-dev https://github.com/axypro/fs-ifs

Abstraction of file system functions

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

file directory file system

11/05 2017

0.0.4

0.0.4.0 https://github.com/axypro/fs-ifs

Abstraction of file system functions

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

file directory file system

02/04 2016

0.0.3

0.0.3.0 https://github.com/axypro/fs-ifs

Abstraction of file system functions

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

file directory file system

02/04 2016

0.0.2

0.0.2.0 https://github.com/axypro/fs-ifs

Abstraction of file system functions

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

file directory file system

01/04 2016

0.0.1

0.0.1.0 https://github.com/axypro/fs-ifs

Abstraction of file system functions

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

file directory file system