library atomic-file
Library for atomic operations with files
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
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)
dev-master
9999999-dev
Library for atomic operations with files
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
František Šitner
0.1.3
0.1.3.0
Library for atomic operations with files
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
František Šitner
0.1.2
0.1.2.0
Library for atomic operations with files
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
František Šitner
0.1.1
0.1.1.0
Library for atomic operations with files
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
František Šitner
0.1.0
0.1.0.0
Library for atomic operations with files
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
by
František Šitner