ayewo/highlight-php-sdk-test

Highlight's OpenTelemetry SDK for PHP.

Maintainers

👁 ayewo

Package info

github.com/tailcall-demo/highlight-php-new

Homepage

pkg:composer/ayewo/highlight-php-sdk-test

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha 2024-02-17 10:07 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Apache-2.0 0b8ae173f66f45ddf1868eb508b695ddbdbfb93d

loggingMetricssdkhighlighttracingopentelemetryopen-telemetryotel

This package is auto-updated.

Last update: 2026-06-17 15:47:39 UTC


README

👁 docs-thumbnail

👁 PRs Welcome
👁 Join Discord Community
👁 GitHub commit activity
👁 GitHub closed issues

Docs - Community (Support & Feedback) - Feature request - Bug report

highlight.io: The open-source, fullstack monitoring platform.

highlight.io is a monitoring tool for the next generation of developers (like you!). Unlike the age-old, outdated tools out there, we aim to build a cohesive, modern and fully-featured monitoring solution, something we wished WE had. And it's all open source :)

At a high level, highlight.io's feature set is:

We strive to make highlight.io as easy to install as a few lines of code in any environment.

Read more about our features, values and mission below, and get started at https://highlight.io today!

Highlight PHP SDK

Below are some examples demonstrating usage of the PHP SDK:

 use Highlight\SDK\Common\HighlightOptions;
 use Highlight\SDK\Highlight;


 $projectId = '1jdkeo52';

 // Use only a projectId to bootstrap Highlight
 if (!Highlight::isInitialized()) {
 Highlight::init($projectId);
 }

 // Use a HighlightOptions instance to bootstrap Highlight
 $options = HighlightOptions::builder($projectId)->build();
 if (!Highlight::isInitialized()) {
 Highlight::initWithOptions($options);
 }

 // Use a HighlightOptions instance prepped with a serviceName to bootstrap Highlight
 $options = HighlightOptions::builder($projectId)->serviceName('test-service-01')->build();

 if (!Highlight::isInitialized()) {
 Highlight::initWithOptions($options);
 }