PHPackages                             vesvasi/vesvasi-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. vesvasi/vesvasi-php

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

vesvasi/vesvasi-php
===================

Production-grade PHP APM SDK built on OpenTelemetry with custom vesvasi attributes

v0.1(1mo ago)01MITPHPPHP ^8.2

Since Apr 26Pushed 1mo agoCompare

[ Source](https://github.com/vesvasi/vesvasi-php)[ Packagist](https://packagist.org/packages/vesvasi/vesvasi-php)[ RSS](/packages/vesvasi-vesvasi-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Vesvasi PHP SDK
===============

[](#vesvasi-php-sdk)

Production-grade PHP APM SDK built on OpenTelemetry with custom vesvasi attributes for deep observability.

Features
--------

[](#features)

- **OpenTelemetry Native**: Built on OpenTelemetry SDK with full OTLP support
- **Custom Attributes**: `vesvasi.error`, `vesvasi.sql`, `vesvasi.http`, `vesvasi.command` for easy filtering
- **Multi-Protocol Support**: HTTP/protobuf, HTTP/JSON, gRPC exporters
- **Configurable Sampling**: Head-based and tail-based (error-focused) sampling
- **Resource Monitoring**: CPU, memory, and custom metrics collection
- **Auto-Instrumentation**: SQL, HTTP, commands, and exception tracking
- **Flexible Filtering**: Include/exclude by files, classes, methods, URLs, commands
- **API Key Support**: `x-api-key` header for authentication
- **Auto-Instrumentation**: SQL, HTTP, commands, and exception tracking

Installation
------------

[](#installation)

```
composer require vesvasi/vesvasi
```

Quick Start
-----------

[](#quick-start)

```
