ctxflow / semconv
ctxflow semantic conventions (C1-C7): attribute name constants, generated from the registry.
v0.2.5
2026-12-02 21:34 UTC
Requires
- php: >=8.2
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Read-only mirror of
packages/semconvin ctxflow-sh/ctxflow-edge. Open issues and pull requests there.
ctxflow/semconv
ctxflow semantic conventions (C1-C7) for PHP: one final class Ctxflow\Semconv\Semconv with the attribute name constants, the content-key maps of OpenInference, OTel GenAI and OpenLLMetry, and contentKind() / isContentKey(). Generated from a single registry; no runtime dependencies.
use Ctxflow\Semconv\Semconv; $span->setAttribute(Semconv::SOURCE_ID, 'policies/vacation.md');
You do not need to require it yourself: the SDK ctxflow/otel depends on it.
Documentation and the attribute reference: https://docs.ctxflow.sh. Release notes: CHANGELOG.md. Apache-2.0.