A PHP client for the Langfuse API. Requires PHP 8.3+.
composer require dij-digital/langfuse-php
use DIJ\Langfuse\PHP\Langfuse; use DIJ\Langfuse\PHP\Transporters\HttpTransporter; use GuzzleHttp\Client; $langfuse = new Langfuse( transporter: new HttpTransporter(new Client([ 'base_uri' => 'https://cloud.langfuse.com', 'auth' => ['PUBLIC_KEY', 'SECRET_KEY'], ])), environment: 'production', label: 'latest', );
There was an error while loading. Please reload this page.