Ana Sayfa / Kod ve Scriptler / HookFlow - PHP Webhook Receiver and Inspector

HookFlow - PHP Webhook Receiver and Inspector

Webhook'ları yakalayın, imzaları doğrulayın, JSON'u inceleyin ve istekleri kendi kendine barındırılan bir PHP ve MySQL konsolunda yeniden oynatın.

  • Yayın tarihi13 Kasım 2026
  • Nerede çalışırNode.js 22
  • VeritabanıMySQL 5.7, MariaDB 10.x
  • Paket içeriği.php, .css, .html, .json, .svg, .sql, JavaScript .js
  • Son güncelleme13 Kasım 2026
  • Canlı demoVar
HookFlow - PHP Webhook Receiver and Inspector

Overview

HookFlow is a self-hosted webhook receiver and debugging console for developers who integrate payment, commerce, shipping or CRM services. When a webhook fails, the questions are always the same: what did the sender post, what did my app answer, how many times was it tried, and does it work now? HookFlow puts those answers on one screen.

Each endpoint gets a public receiver URL served by the included PHP API. Every POST or PUT is stored in your MySQL or MariaDB database with the raw body, headers, query string and sender address; Authorization and Cookie headers are redacted. If the endpoint asks for it, the server checks the signature (HMAC-SHA256 of the body in the header you choose, or Stripe-style t= and v1= with a timestamp tolerance). Secrets stay in config.php or the server environment; the app only knows the variable name. Requests with a bad signature get 401, are kept for inspection and are not forwarded.

Set a forward URL and HookFlow passes each captured event on to your app, then records the status, duration, response headers and body as a delivery attempt. Retry a failed delivery or replay any event from the inbox, and send test events from templates; all of them are real HTTP requests from the server with an 8 second timeout. The inbox shows the payload as a searchable JSON tree, the headers, and every attempt on a timeline. Filters, saved presets, analytics, JSON and CSV export and a retention period applied on the server round it off.

Staff accounts use secure sessions with CSRF protection and rate-limited sign-in; the receiver is rate limited per sender and capped by body size. Open inboxes pick up new events every 15 seconds, and saves carry a version number so two people editing endpoints never overwrite each other. A web installer creates the tables and the first administrator.

The frontend is React 19 + TypeScript + Vite; the backend is plain PHP 8 with PDO and curl (no framework, no Composer), so it runs on ordinary shared hosting with cPanel.

About the live demo: the demo is a static build of the same app hosted without PHP, so it runs in browser-only mode with sample events and a simulated receiver whose behaviour you choose per endpoint (healthy, flaky, failing, slow, rejects signature). Receiver URLs, signature checks and real forwarding are server features, included in the download and documented step by step.

Limitations: forwarding makes one attempt per capture and does not retry on a schedule (use Retry, or the sender's own retries). The app loads all retained events at sign-in, which suits a few thousand events.

Features

Server (PHP + MySQL) - Public receiver URL per endpoint for POST and PUT, events stored in MySQL/MariaDB - Signature checks: HMAC-SHA256 with a custom header, Stripe-style with timestamp tolerance; secrets only in config.php or the environment - Forward URL per endpoint; responses recorded as attempts; Retry, Replay and test events sent from the server - Credential headers redacted, body size cap, rate limit per sender, retention and event cap on the server - Sign-in with administrator and member roles, password change, accounts, CSRF tokens, HttpOnly session cookie - Versioned saves with merging of concurrent edits; open inboxes poll for new events; web installer

Inspect - Event inbox with status, response code, type, endpoint, time, attempts and duration - JSON tree with colours, collapse and expand, search with next and previous, copy JSONPath or value, raw view, download - Malformed bodies show the parser error with line and column - Headers, query parameters, method, size, source address; copy the request as cURL

Delivery - Timeline of first delivery, sender retries, manual retries and replays, each with status, duration and error - Latest response with headers and body

Act - Replay any event, retry failed ones (to your app with the server, to the simulated receiver in the demo) - Endpoint profiles with environment, sender, enabled switch, notes and the name of the signing secret variable (values that look like secrets are refused) - Browser-only build: simulated receiver per endpoint (healthy, flaky, failing, slow, rejects signature) - Test event generator with 12 templates, JSON editor with format and validate, custom headers and query, and a switch to send invalid JSON on purpose

Find and measure - Filters for endpoint, type, status, response class, time range and text, all combined - Saved filter presets, bulk select and delete - Events per hour or day, delivered rate, failing count, p95 response time, per-endpoint p50 and p95 - Charts with keyboard tooltips and a table view

Data and quality - Export filtered or selected events as JSON (re-importable) or CSV - Validated import, merged or into a fresh workspace; retention period; backup and restore - Dark theme by default for long debugging sessions, plus a light theme - Keyboard support, visible focus, labelled controls, WCAG AA contrast - Responsive: on phones the list and the detail view switch and filters fold away - 14 unit tests and 22 automated API tests against a real MariaDB database - Strict TypeScript, ESLint

Requirements

- PHP 8.1 or newer with pdo_mysql, mbstring and curl - MySQL 5.7+ or MariaDB 10.3+ - Any host that runs PHP (shared hosting with cPanel works); HTTPS recommended so senders accept the receiver URL - Node.js 22.12+ and npm 10+ only to build the frontend (npm run build:server)

Browser compatibility: Latest Chrome, Edge, Firefox and Safari.