This is a client to easily handle incoming webhooks produced by the uwkluis/webhooks package.
src/
src/Manage/
src/Exception/
src/Receive/
Via Composer
$ composer require uwkluis/webhook-clientProcessing an incoming webhook:
$function = function (Message $message) {
$this->logger->log($message->getData());
};
/** @var \Psr\Http\Message\ResponseInterface */
$response = new PsrResponse();
$processor = new \UwKluis\WebhookClient\Receive\Processor();
return $processor->process(
$request,
$response,
$storedIncomingWebhook->getSecret(),
$function
);$ composer testPlease see CODE_OF_CONDUCT for details.
If you discover any security related issues, please email it@hypotheekbond.nl instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.