lingoda/langfuse-bundle
Integrates Langfuse observability into your PHP application, letting you trace LLM calls, log prompts and completions, and monitor latency and cost. Provides configurable clients and automatic instrumentation so you can debug AI features in production.
Adopt when:
Look elsewhere when:
The honest read: treat this as a reference implementation or internal convenience wrapper that happens to be public, not a community-standard package. It is worth a spike, not a dependency-graph commitment.
To executives: Langfuse is open-source LLM observability — it tells us what our AI features cost, how slow they are, and why they produced a given answer. This bundle is the Symfony-side adapter that lets us turn that on with configuration instead of custom engineering. It's MIT-licensed, self-hostable, and cheap to try. The decision it unlocks is small and reversible: a short spike to get cost-per-request and latency data before we commit to pricing or scaling any AI feature. The caveat to state plainly: it is a single-maintainer package with essentially no adoption, so we pilot it behind an internal abstraction and pin the version — we are betting on Langfuse, not on this bundle.
To engineering: This is a Symfony bundle wrapping the official Langfuse PHP SDK — DI configuration, minimal surface area, no proprietary abstractions. Expected effort is a config block and a spike, not a refactor. Two guardrails: keep Langfuse calls behind our own interface so we can swap to the raw SDK or to OTLP without touching feature code, and review the bundle's source before merging since the project has one star and no dependents. If the bundle gets in the way, drop it and use the SDK directly — the bundle is the disposable part.
How can I help you explore Laravel packages today?