Download the PHP package traceway/opentelemetry-symfony without Composer

On this page you can find all versions of the php package traceway/opentelemetry-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package opentelemetry-symfony

Traceway Logo

# OpenTelemetry Symfony Bundle [![CI](https://github.com/tracewayapp/opentelemetry-symfony-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/tracewayapp/opentelemetry-symfony-bundle/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/tracewayapp/opentelemetry-symfony-bundle/graph/badge.svg)](https://codecov.io/gh/tracewayapp/opentelemetry-symfony-bundle) [![Packagist Version](https://img.shields.io/packagist/v/traceway/opentelemetry-symfony.svg)](https://packagist.org/packages/traceway/opentelemetry-symfony) [![Packagist Downloads](https://img.shields.io/packagist/dt/traceway/opentelemetry-symfony.svg)](https://packagist.org/packages/traceway/opentelemetry-symfony) [![PHP Version](https://img.shields.io/badge/php-%3E%3D8.1-8892BF.svg)](https://php.net) [![Symfony Version](https://img.shields.io/badge/symfony-%3E%3D6.4-000000.svg)](https://symfony.com) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord&logoColor=white)](https://discord.gg/9tPn2SB3) Pure-PHP OpenTelemetry instrumentation for Symfony. Automatic tracing for HTTP, Console, HttpClient, Messenger, Mailer, Scheduler, Doctrine DBAL, Cache, and Twig — plus Monolog log-trace correlation, OTel log export, and opt-in metrics. **No C extension required.** Works with any OpenTelemetry-compatible backend: [Traceway](https://tracewayapp.com), [Jaeger](https://www.jaegertracing.io/), [Zipkin](https://zipkin.io/), [Datadog](https://www.datadoghq.com/), [Grafana Tempo](https://grafana.com/oss/tempo/), [Honeycomb](https://www.honeycomb.io/), [AWS X-Ray](docs/aws-xray.md), and more. - **Pure PHP** — installs on every managed Symfony host - **Production-ready** — stable since v1.0, PHPStan level 10 with no baseline, Symfony 6.4 LTS through 8.x - **Correct under load** — Messenger context propagates across async boundaries, DBAL 3 and 4 CI-tested, re-entrance guards on HttpClient and the log handler ## Installation Symfony Flex registers the bundle automatically. Without Flex, add it to `config/bundles.php`: ## Quick Start That's it. Every HTTP request, console command, outgoing call, Messenger job, DB query, cache operation, and Twig render is now traced. Prefer configuring the SDK via the bundle instead of raw env vars (works with DotEnv and Symfony Secrets)? See the `open_telemetry.sdk` section in [docs/configuration.md](docs/configuration.md). Verify the wiring: ## What Gets Traced HTTP requests (with route templates), Console commands, HttpClient, Messenger, Scheduler, Mailer, Doctrine DBAL, Cache, and Twig — plus Monolog `trace_id`/`span_id` correlation and opt-in OTel log export. Each subsystem is individually toggleable. See **[docs/index.md](docs/index.md)** for the per-component span breakdown. ## Semantic Conventions Audited against the current [OTel semantic conventions](https://opentelemetry.io/docs/specs/semconv/): every stable MUST/Required/Conditionally-Required rule is implemented, Recommended attributes are emitted wherever the data exists, and all deviations are deliberate and spec-permitted. See **[docs/semantic-conventions.md](docs/semantic-conventions.md)** for the conformance statement, deviations, and known limitations. ## Configuration All options are optional — the bundle works out of the box. A minimal `config/packages/open_telemetry.yaml`: See **[docs/configuration.md](docs/configuration.md)** for the full reference and environment variables. ## Manual Instrumentation Inject `TracingInterface` for one-liner span creation: Mock in tests with `$this->createStub(TracingInterface::class)` and have `trace()` invoke the callback directly. ## Metrics Opt-in OpenTelemetry metrics — Messenger, Doctrine DBAL, HTTP server/client, and Mailer — alongside a `MeterRegistryInterface` for custom counters/histograms/gauges. See **[docs/metrics.md](docs/metrics.md)**. ## Doctor `bin/console traceway:doctor` runs diagnostic checks against the bundle's wiring, SDK environment variables, and OTLP endpoint reachability — text or JSON, scriptable in CI. See **[docs/doctor.md](docs/doctor.md)** for flags, JSON envelope schema, and custom checks. ## Documentation | | | |---|---| | [Configuration](docs/configuration.md) | Full config reference and environment variables | | [Metrics](docs/metrics.md) | Instrument list, manual metrics, exemplars | | [AWS X-Ray](docs/aws-xray.md) | Native `propagator` / `id_generator` keys | | [Doctor](docs/doctor.md) | `traceway:doctor` flags, JSON output, custom checks | | [Performance](docs/performance.md) | Overhead, sampling, exporter choice | | [Upgrade from v1.x](UPGRADE-2.0.md) | Flat → nested config migration | | [Changelog](CHANGELOG.md) | Release history | ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md). Join the conversation on [Discord](https://discord.gg/9tPn2SB3). ## License [MIT](LICENSE)

All versions of opentelemetry-symfony with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
open-telemetry/api Version ^1.9
open-telemetry/context Version ^1.5
open-telemetry/sdk Version ^1.14
open-telemetry/sem-conv Version ^1.38
symfony/config Version ^6.4 || ^7.0 || ^8.0
symfony/console Version ^6.4 || ^7.0 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.0 || ^8.0
symfony/event-dispatcher Version ^6.4 || ^7.0 || ^8.0
symfony/http-foundation Version ^6.4 || ^7.0 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.0 || ^8.0
symfony/yaml Version ^6.4 || ^7.0 || ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package traceway/opentelemetry-symfony contains the following files

Loading the files please wait ...