Honeycomb does not provide a direct SDK for PHP or Laravel applications. You can, however, use the OpenCensus bindings for PHP along with the OpenCensus Collector to send detailed traces from PHP to Honeycomb.
Note: The OpenCensus project recently merged with OpenTracing to form the OpenTelemetry project. Instructions provided here are for OpenCensus – when OpenTelemetry has a stable release, OpenTelemetry will become the recommended method and will have a very simliar architecture to what is outlined here. The OpenTelemetry project has committed to maintaining backwards compatible bridges with OpenCensus to make migration smooth for you.
The architecture for using OpenCensus’s PHP bindings with Honeycomb is as follows:
A diagram of only these components is shown below. The referenced OpenCensus documentation explains how to install and connect these components. You will need to add the following YAML configuration to the config for the OpenCensus Collector.
exporters: honeycomb: write_key: "YOUR_WRITEKEY" dataset_name: "prod-traces"