tseweb/file-integrity-checker

File Integrity Checker for PHP applications

Maintainers

Package info

github.com/viavario/file-integrity-checker

pkg:composer/tseweb/file-integrity-checker

Statistics

Installs: 12

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2017-01-04 19:28 UTC

This package is auto-updated.

Last update: 2026-03-11 04:06:29 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
}