khushalp2004/traceforge-php

TraceForge SDK for PHP and Laravel

Maintainers

Package info

github.com/khushalp2004/traceforge-php

pkg:composer/khushalp2004/traceforge-php

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.6 2026-07-27 16:52 UTC

This package is auto-updated.

Last update: 2026-07-27 17:10:57 UTC


README

Zero-touch application performance monitoring and error tracking for PHP and Laravel applications.

Installation

Install the package via Composer:

composer require khushalp2004/traceforge-php

Configuration (Laravel)

If you are using Laravel, the SDK is Zero-Touch! It will automatically register itself using Laravel's Package Auto-Discovery.

You only need to add your API Key and Ingest URL to your .env file:

TRACEFORGE_API_KEY="your_api_key_here"
TRACEFORGE_INGEST_URL="http://localhost:3001/ingest"

That's it! TraceForge will automatically intercept all handled and unhandled exceptions in your Laravel application by seamlessly hooking into Laravel's core logging system.

Configuration (Vanilla PHP)

If you are not using Laravel, you can manually capture exceptions:

require 'vendor/autoload.php';

use TraceForge\TraceForgeClient;

$client = new TraceForgeClient();

try {
    // Your code here
    throw new Exception("Something went wrong!");
} catch (\Throwable $e) {
    $client->captureException($e, ['type' => 'manual_exception']);
}