corneltek/webserver-runner

0.0.1 2015-06-30 05:49 UTC

This package is auto-updated.

Last update: 2024-11-29 04:30:31 UTC


README

This is a simple runner wrapper of the php built-in web server.

Usaage

$runner = new WebServerRunner('localhost', '3343', './');
$runner->setVerbose();
$runner->execute();
$info = $runner->info();
$pid = $runner->getPid();
$runner->stopOnShutdown();