PHP_Invoker
is an utility class for invoking callables with a timeout.
To add PHP_Invoker
as a local, per-project dependency to your project, simply add a dependency on phpunit/php-invoker
to your project's composer.json
file. Here is a minimal example of a composer.json
file that just defines a dependency on PHP_Invoker
1.1:
{
"require": {
"phpunit/php-invoker": "1.1.*"
}
}