dev-master
9999999-devPHP wrapper for facebook/watchman
MIT
The Requires
The Development Requires
filesystem watch watchman
v0.1
0.1.0.0PHP wrapper for facebook/watchman
MIT
The Requires
The Development Requires
filesystem watch watchman
Wallogit.com
2017 © Pedro Pelรกez
PHP wrapper for facebook/watchman
PHP wrapper for
facebook/watchman., (*1)
facebook/watchman
You can install cocur/watchman through Composer:, (*3)
$ composer require cocur/watchman:@stable
In a production environment you should replace @stable with the version you want to use., (*4)
use Cocur\Watchman\Watchman;
$watchman = new Watchman();
$watch = $watchman->addWatch('/var/www/foobar');
$trigger = $watch->addTrigger('foo', '*.js', 'ls -al');
// Retrieve all watched directories
$watched = $watchman->listWatches();
// Retrieve all triggers from a watch
$triggers = $watch->listTriggers();
// Later...
$trigger->delete();
$watch->delete();
Florian Eckerstorfer, (*5)
The MIT license applies to cocur/watchman. For the full copyright and license information, please view the LICENSE file distributed with this source code., (*6)
PHP wrapper for facebook/watchman
MIT
filesystem watch watchman
PHP wrapper for facebook/watchman
MIT
filesystem watch watchman