zaeem2396/obeserva

Framework-aware observability for PHP (Datadog APM and optional OpenTelemetry)

Maintainers

Package info

github.com/zaeem2396/obeserva

Type:project

pkg:composer/zaeem2396/obeserva

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2026-03-29 11:37 UTC

This package is auto-updated.

Last update: 2026-04-09 14:08:01 UTC


README

Test PHP License

Observa adds structured spans for Laravel and Symfony using the Datadog PHP tracer by default, or OpenTelemetry when you install open-telemetry/sdk and set OBSERVA_TRACER=opentelemetry (see docs/USAGE.md). Instrumentation covers HTTP traffic (Laravel web and api middleware groups), controllers, queue jobs / Messenger, events, listeners, middleware, and policy checks. Exceptions are tagged on the active span (error.type, error.message). Without a configured backend, instrumentation is a no-op and your app behaves normally.

Requirements: PHP 8.2+; Laravel 10–13 (Laravel 13 needs PHP 8.3+) or Symfony 6.4 / 7; Datadog (tracer + Agent) and/or OpenTelemetry (SDK + TracerProvider / OTLP) depending on observa.tracer.

Install

Laravel

composer require zaeem2396/obeserva
php artisan observa:install

Symfony

composer require zaeem2396/obeserva

Register Observa\Symfony\ObservaBundle in config/bundles.php and set observa.enabled and other options in your bundle config.

Documentation

Topic Location
Configuration, Docker, production, optional features docs/USAGE.md
Changelog CHANGELOG.md
Contributing & CI docs/CONTRIBUTING.md
Packagist & releases Packagist · docs/PACKAGIST.md

License

Apache-2.0.