coquibot / coqui-toolkit-webhooks
Incoming webhooks for Coqui: HTTP receiver + management CRUD, HMAC verifiers (GitHub/Slack/generic), and the webhook toolkit.
Package info
github.com/carmelosantana/coqui-toolkit-webhooks
pkg:composer/coquibot/coqui-toolkit-webhooks
Requires
- php: ^8.4
Requires (Dev)
- coquibot/coqui: ^0.0.27
- pestphp/pest: ^4.0
- phpstan/phpstan: ^2.0
README
Optional Coqui mod that adds the incoming webhooks feature: an HTTP receiver endpoint, management CRUD API, HMAC verifiers (GitHub, Slack, and a generic scheme), delivery dispatch, and the webhook agent toolkit.
Core Coqui no longer ships webhooks — it is a clean leaf feature that consumes core (creating tasks and triggering agents) but that nothing in core depends on. Installing this mod restores the full feature through two additive extension points, with no core changes.
Install
/mods install coquibot/coqui-toolkit-webhooks
The mod self-registers on two surfaces:
- HTTP routes — the receiver and management API register via
extra.php-agents.apiFeatures(WebhooksFeature), which Coqui's API server discovers and wires onto its router. - Agent toolkit —
WebhookToolkitregisters viaextra.php-agents.toolkitsand builds its store from the shared Coqui SQLite database through the toolkit-discovery context.
No configuration needed. When the mod is not installed, webhook routes return 404, the toolkit is absent, and the health endpoint omits its webhook block.