Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Wrapper for PHP inotify module
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
library/Djme
tests
.gitignore
README.markdown
phpunit.xml

README.markdown

php-inotify

A simple OO wrapper for PHP inotify module

Requirements

Example

<?php
$inotify = new Djme_Inotify();
$inotify->addWatch(__DIR__);
while (true) {
  foreach ($inotify->read() as $result) {
    echo 'Something happened to \''. __DIR__. '/'. $result->getName(). "'.\n";
  }
}
Something went wrong with that request. Please try again.