Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msabramo/php-inotify
Wrapper for PHP inotify module
https://github.com/msabramo/php-inotify
Last synced: 28 days ago
JSON representation
Wrapper for PHP inotify module
- Host: GitHub
- URL: https://github.com/msabramo/php-inotify
- Owner: msabramo
- Created: 2012-05-31T04:29:52.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-31T04:33:03.000Z (over 12 years ago)
- Last Synced: 2024-05-09T20:41:27.162Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 230 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
# php-inotify
A simple OO wrapper for PHP inotify module
## Requirements
* The [inotify module for PHP](http://www.php.net/manual/en/inotify.install.php "inotify module for PHP").## Example
addWatch(__DIR__);
while (true) {
foreach ($inotify->read() as $result) {
echo 'Something happened to \''. __DIR__. '/'. $result->getName(). "'.\n";
}
}