Skip to content
Dom Del Nano edited this page May 15, 2017 · 2 revisions

The dredd-hooks-php tool makes it easy to hook into Dredd's events.

Dredd-hooks-php Behind the Scenes

dredd-hooks-php is a command line program that interfaces with Dredd. When it is run the follow occurs:

  1. It loads hookfiles provided to it by Dredd.
  2. It listens on port 61321 which allows Dredd and dredd-hooks-php to interact with each other.
  3. Dredd sends events to dredd-hooks-php which are parsed and fire the corresponding hooks that were defined in the hook files.
  4. dredd-hooks-php sends the transaction data back to Dredd
Clone this wiki locally