PHP Classes

File Writer: Write to files safely

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 649 All time: 4,943 This week: 455Up
Version License PHP version Categories
file_writer 1.0Free for non-comm...5.0PHP 5, Files and Folders
Description 

Author

This class can be used to write to files safely.

It can open files for writing or appending adding exclusive locks to prevent simultaneous write accesses.

The class can also create backup copies of the files before opening for changing them.

Picture of Ethan Sterling
Name: Ethan Sterling <contact>
Classes: 1 package by
Country: United Kingdom

  Files folder image Files (3)  
File Role Description
Files folder imagerestore (1 file)
Accessible without login Plain text file example.php Example Example usage
Plain text file main.php Class The main class file

  Files folder image Files (3)  /  restore  
File Role Description
  Accessible without login Plain text file placeholder.txt Data Placeholder for the backup directory

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:649
This week:0
All time:4,943
This week:455Up
User Comments (1)