2017-25 © Pedro Peláez
 

library atomic-file

Library for atomic operations with files

image

php-component/atomic-file

Library for atomic operations with files

  • Monday, October 23, 2017
  • by sitner
  • Repository
  • 1 Watchers
  • 0 Stars
  • 18 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

AtomicFile: Atomic operations

AtomicFile is package for atomic operations with file. It guarantees nobody will overwrite your file, while you are writing into/reading file., (*1)

$file_path = dirname(__FILE__).'/../tmp/test.txt';
$reader = new PHPComponent\AtomicFile\AtomicFileReader($file_path); //create instance of Reader
print_r($reader->readFile()); //read file

Important notice

It works only when other writers/readers use same class, function flock() cannot lock file for others functions then flock()., (*2)

The Versions

23/10 2017

dev-master

9999999-dev

Library for atomic operations with files

  Sources   Download

BSD-3-Clause

The Requires

  • php ~5.6

 

The Development Requires

by František Šitner

23/09 2017

0.1.3

0.1.3.0

Library for atomic operations with files

  Sources   Download

BSD-3-Clause

The Requires

  • php ~5.6

 

The Development Requires

by František Šitner

19/09 2017

0.1.2

0.1.2.0

Library for atomic operations with files

  Sources   Download

BSD-3-Clause

The Requires

  • php ~5.6

 

The Development Requires

by František Šitner

19/09 2017

0.1.1

0.1.1.0

Library for atomic operations with files

  Sources   Download

BSD-3-Clause

The Requires

  • php ~5.6

 

The Development Requires

by František Šitner

17/09 2017

0.1.0

0.1.0.0

Library for atomic operations with files

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5

 

The Development Requires

by František Šitner