{"repo":"seregazhuk/php-watcher","free":true,"listed":false,"github":"https://github.com/seregazhuk/php-watcher","clone":"git clone https://github.com/seregazhuk/php-watcher.git","description":"Monitor for any changes in your php application and automatically restart it (suitable for async apps).","language":"PHP","stars":393,"topics":["php","php-watcher","reactphp","async","asynchronous","cli","watch"],"license":null,"category":"cli-tools","readme_excerpt":"PHP-watcher PHP-watcher helps develop long-running PHP applications by automatically restarting them when file changes in the directory are detected. Here's how it looks like: PHP-watcher does not require any additional changes to your code or method of development. php-watcher is a replacement wrapper for php , to use PHP -watcher replace the word php in the command line when executing your script. Table of contents Installation Usage Config files Monitoring multiple directories Specifying extension watch list Ignoring files Delaying restarting Default executable Gracefully reloading down your script Automatic restart Performance Spinner Installation You can install this package globally like this: After that phpunit-watcher watch can be run in any directory on your system. Alternatively, you can install the package locally as a dev dependency in your project: Locally installed you can run it with vendor/bin/php-watcher . Usage All the examples assume you've installed the package globally. If you opted for the local installation prepend vendor/bin/ everywhere where php-watcher is mentioned. PHP-watcher wraps your application, so you can pass all the arguments you would normally pass to your app: Using PHP-Watcher is simple. If your application accepts a host and port as the arguments, I can start it using option --arguments : Any output from this script is prefixed with [php-watcher] , otherwise all output from your application, errors included, will be echoed out as expecte","default_branch":null,"files":null,"tree":[],"storefront":"/r/seregazhuk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seregazhuk/php-watcher/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}