tseweb / file-integrity-checker
File Integrity Checker for PHP applications
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/tseweb/file-integrity-checker
This package is auto-updated.
Last update: 2025-10-11 03:09:30 UTC
README
File Integrity Checker for PHP applications
Install
Using composer:
composer require tseweb/file-integrity-checker
Usage
<?php
$fic = new TSEWEB\FileIntegrityChecker\FileIntegrityChecker('/path/to/document/root', '/outside-document-root/file-integrity/');
$fic->exclude(array(
'./cache',
'./temp',
));
$changes = $fic->getChanges();
if ($changes!==false) {
// Mail changes to administrator
}