PHP and Laravel telemetry
Use tiden/telemetry-php for framework-agnostic PHP apps and
tiden/telemetry-laravel for Laravel apps.
PHP SDK
Requires PHP ^8.2 with curl and JSON extensions.
Install:
composer require tiden/telemetry-php
Initialize:
use Tiden\Sdk;
Sdk::init([
'dsn' => getenv('TIDEN_DSN'),
'release' => 'my-app@1.2.3',
'environment' => 'production',
]);
Manual capture:
try {
risky();
} catch (\Throwable $e) {
Sdk::captureException($e);
}
Sdk::captureMessage('checkout completed', 'info');
Laravel bridge
Requires PHP ^8.3 and Laravel Illuminate ^12.0 || ^13.0.
Install:
composer require tiden/telemetry-laravel
Set environment variables:
TIDEN_DSN=http://<publicKey>@<host>/<productId>
TIDEN_RELEASE=my-app@1.2.3
TIDEN_ENVIRONMENT=production
The service provider is auto-discovered. Reported exceptions flow to Tiden.
Publish Laravel config
php artisan vendor:publish --tag=tiden-config
Configurable areas include DSN, release, environment, PII behavior, and breadcrumb sources for SQL, queue, and logs.
Manual Laravel capture
use Tiden\Sdk;
Sdk::captureException($e);
Sdk::captureMessage('checkout completed', 'info');