2017 © Pedro Peláez
 

library file-manager

Manages strict read and write operations.

image

kherge/file-manager

Manages strict read and write operations.

  • Monday, June 12, 2017
  • by kherge
  • Repository
  • 1 Watchers
  • 6 Stars
  • 17,743 Installations
  • PHP
  • 7 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 11 Versions
  • 14 % Grown

The README.md

Build Status Packagist Packagist Pre Release, (*1)

File Manager

Manages strict read and write operations for files and file streams., (*2)

Usage

use KHerGe\File\File;

// Create a new file manager.
$file = new File('example.txt', 'r');

// Iterate through the contents of the file.
foreach ($file->iterate() as $buffer) {
    // ...
}

Install

Add as a dependency to a Composer managed project., (*3)

composer require kherge/file-manager

Documentation

Please refer to [FileInterface][] for documentation., (*4)

use KHerGe\File\File;
use KHerGe\File\Memory;
use KHerGe\File\Stream;

// Create a manager for a file.
$manager = new File('example.txt', 'r');

// Create a manager for a string.
$manager = new Memory('example contents', false);

// Create a manager for a file stream.
$manager = new Stream($stream);

License

File Manager is dual licensed under MIT and Apache 2.0., (*5)

The Versions

12/06 2017

dev-master

9999999-dev

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

The Development Requires

read write file io

12/06 2017

2.7.0

2.7.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

The Development Requires

read write file io

20/12 2016

2.6.0

2.6.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

19/12 2016

2.5.0

2.5.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

29/11 2016

2.4.0

2.4.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

29/11 2016

2.3.0

2.3.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

28/11 2016

2.2.0

2.2.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

23/11 2016

2.1.0

2.1.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

23/11 2016

2.0.0

2.0.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

02/08 2016

1.1.0

1.1.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io

02/08 2016

1.0.0

1.0.0.0

Manages strict read and write operations.

  Sources   Download

MIT Apache-2.0

The Requires

  • php >=5.6

 

read write file io