PHP Package: spatie/file-system-watcher

Efficient PHP library for monitoring file system changes and events in real-time

Current Version: 1.2.0
Last Updated: 2024-03-04
PHP Requirement: ^8.0
Dependencies:
spatie/php-watcher
symfony/event-dispatcher
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

File System Watcher by Spatie is a robust PHP library designed to monitor file system alterations and activities promptly. With this tool, developers can easily track file modifications, additions, and deletions, enhancing real-time feedback and response mechanisms. The library provides extensive functionality coupled with simplified implementation, making it a preferred choice for applications requiring dynamic file system monitoring.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.2.0

Download Download v1.2.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/file-system-watcher/1.2.0/loader.php';
require_once 'libs/spatie/php-watcher/{lib_version}/loader.php';
require_once 'libs/symfony/event-dispatcher/7.3.3/loader.php';

use Spatie\FileSystemWatcher\FileSystemWatcher;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Spatie\FileSystemWatcher\Observers\FileObserver;

$obj = new FileSystemWatcher();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.