soapbox/webhooks
Handle webhook requests from the API
4,207
| Install | |
|---|---|
composer require soapbox/webhooks |
|
| Latest Version: | 3.0 |
| PHP: | >=7.2 |
| Laravel: | 8 |
| Older releases: | 5 · 6 · 7 |
| Last Updated: | Feb 1, 2023 |
| Links: | GitHub · Packagist |
Maintainer: grahammccarthy
GoodTalk-Webhooks
Set up
- Install the library
- Set up your
.env
WEBHOOKS_HANDLER_NAMESPACE=
- Set this to the namespace of where classes for your handlers will be
WEBHOOKS_SIGNED_REQUEST_ALGORITHM=sha256
WEBHOOKS_SIGNED_REQUEST_CACHE_PREFIX=signed-requests
WEBHOOKS_SIGNED_REQUEST_SIGNATURE_HEADER=GoodTalk-Signature
WEBHOOKS_SIGNED_REQUEST_ALGORITHM_HEADER=GoodTalk-Signature-Algorithm
WEBHOOKS_SIGNED_REQUEST_KEY=testing
WEBHOOKS_SIGNED_REQUEST_ALLOW_REPLAYS=true
WEBHOOKS_SIGNED_REQUEST_TOLERANCE_SECONDS=600
-
Set this to be able to receive webhooks requests from the API
-
WEBHOOKS_SIGNED_REQUEST_KEYis generated from the artisan command on the API:webhook:create -
The handler class name should be the camel case notation of the name of the event
- e.g. if the event type from the API is
user.updatedthe class to hanle it should beUserUpdated
- e.g. if the event type from the API is
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
651,963,193
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
429,221,767
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
407,699,310
4,663
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 3.0 | >=7.2 | ^8.0 | ||
| 2.0 | >=7.2 | ^7.0 | ||
| 1.2 | >=7.2 | ^6.11 | ||
| v1.1 | >=7.1 | ^5.6 | ||
| v1.0 | >=7.1 | ^5.6 |