PostHog for Laravel
Component: posthog · Channel: stable. Automated analysis, not a compatibility certification. How this works.
Analysis updated: 2026-11-06.
PostHog introduces a dedicated Laravel package with lifecycle-aware context and optional server-side event capture for Laravel applications. The release enables native feature flag integration via Laravel Pennant and adds comprehensive event collection hooks across Laravel's runtime components.
💻 Software Engineers & Devs
Laravel developers can now integrate PostHog through a native package that automatically captures requests, queue jobs, exceptions, and model events with minimal configuration.
📊 Product & Engineering Leads
Product teams gain deeper behavioral analytics and feature flag control within Laravel applications, enabling better product decisions based on server-side event data.
⚙️ DevOps & Security
Deployment pipelines need no changes, but teams should install the new Laravel package and decide whether to enable server-side event capture based on their infrastructure.
✨ New Features & Capabilities (4)
- Adds the Laravel runtime for request, queue, command, exception, and feature-flag context
- Adds opt-in capture for requests, auth changes, jobs, commands, models, and selected domain events
- Reads Feature Flags through Laravel Pennant
- Releases the Laravel package