laravie / webhook
Webhook Client for PHP
v2.1.0
2019-09-24 02:40 UTC
Requires
- php: >=7.1
- laravie/codex-common: ^1.1
Requires (Dev)
- mockery/mockery: ^1.2
- php-http/curl-client: ^2.0
- phpunit/phpunit: ^7.5 || ^8.0
Suggests
- laravie/codex-security: Allow to create webhook signature (^1.0)
README
Installation
To install through composer, simply put the following in your composer.json file:
{
"require": {
"laravie/webhook": "^2.0",
"php-http/curl-client": "^2.0"
}
}
And then run composer install from the terminal.
Quick Installation
Above installation can also be simplify by using the following command:
composer require "php-http/curl-client" "laravie/webhook=^2.0"
HTTP Adapter
Instead of utilizing php-http/curl-client you might want to use any other adapter that implements php-http/client-implementation. Check Clients & Adapters for PHP-HTTP.