Download the PHP package teamup/webhook-php without Composer
On this page you can find all versions of the php package teamup/webhook-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download teamup/webhook-php
More information about teamup/webhook-php
Files in teamup/webhook-php
Package webhook-php
Short Description Client for receiving and processing Teamup webhook events
License MIT
Informations about the package webhook-php
Teamup Webhook SDK
This library provides some auxiliary code to receive, validate and process the data sent by Teamup in a webhook call. You can also check our API Docs for more details related to the API and Webhook itself.
Requirements
To create a webhook in your Teamup calendar, start by visiting the calendar page:
Settings > Integrations > Webhooks which lists all available webhooks
in the current calendar.
Use the + New button to create a new webhook, and fill in the relevant information.
The Endpoint requries a web-accessible URL, where Teamup will send the webhook payloads
by using a POST request.
After the webhook configuration is saved, a secret value will be provided in the webhook settings. The secret is used as a shared key to compute a keyed-hash (or HMAC) of the webhook payload using the HMAC-SHA256 algorithm. This enables you to validate the data-integrity of the webhook's payload.
Note: for local development you can use tools to route internet traffic to your local development machine, such as:
- ngrok
- LocalTunnel
- pyjam (experimental)
Installation
Install the latest version with Composer:
Usage
This library provides a Webhook class to handle the webhook requests and helpers
to parse and validate the received payload from Teamup.com.
An example implementation may look like:
You can also use directly the parser for a simpler approach: