New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

zip-fa/posthog-php

PostHog PHP Library
2,403

Larablocks Analysis

zip-fa/posthog-php has no release yet to check Laravel compatibility against.

Recommendation checks

Use with care

Use with care: meets 0 of 3 checks.

  • No dated releases
  • 0 downloads a month (needs 10,000)
  • 0 GitHub stars (needs 100)

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require zip-fa/posthog-php:dev-master
PHP:>=8.2
License:MIT
Last Updated:May 30, 2026
Links: GitHub  ·  Packagist
Maintainer: zip-fa

PostHog PHP

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.

Related Packages

posthog/posthog-laravel

PostHog for Laravel

7,997 1
qodenl/laravel-posthog

Laravel implementation for Posthog

179,713 35
temperbit/larahog

The Laravel-native PostHog experience.

1,098 0
robbiekibler/laravel-posthog-logs

Send Laravel logs to PostHog using OpenTelemetry OTLP format

937 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703