omatech/fire-and-forget

Send a post request with parameters async and without wait for a response

dev-master 2019-11-29 11:27 UTC

This package is auto-updated.

Last update: 2024-10-29 05:29:07 UTC


README

$url="https://postman-echo.com/get";
$params=['test'=>'testval'];
$faf = new FireAndForget($url, $params);
$faf->send();

Test

phpunit --bootstrap vendor/autoload.php tests