zip-fa/posthog-php

PostHog PHP Library

Maintainers

Package info

github.com/zip-fa/posthog-php

Homepage

pkg:composer/zip-fa/posthog-php

Statistics

Installs: 2 398

Dependents: 0

Suggesters: 0

Stars: 0

dev-master 2026-05-30 09:49 UTC

This package is auto-updated.

Last update: 2026-05-30 09:50:22 UTC


README

PHP Version CI

Please see the main PostHog docs.

Specifically, the PHP integration details.

Features

  • ✅ Event capture and user identification
  • ✅ Feature flags, including local evaluation, multivariate flags, payloads, and flag dependencies
  • ✅ Group analytics
  • ✅ Error tracking with manual exception capture and opt-in automatic PHP exception, error, and fatal shutdown capture
  • ✅ Request context helpers for applying distinct IDs, session IDs, and common properties across a request
  • ✅ Comprehensive test coverage

Questions?

Join our Slack community.

Contributing

See CONTRIBUTING.md for local setup and test instructions.

Releasing

See RELEASING.md.