Download the PHP package posthog/posthog-php without Composer
On this page you can find all versions of the php package posthog/posthog-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download posthog/posthog-php
More information about posthog/posthog-php
Files in posthog/posthog-php
Download posthog/posthog-php
More information about posthog/posthog-php
Files in posthog/posthog-php
Vendor posthog
Package posthog-php
Short Description PostHog PHP Library
License MIT
Homepage https://github.com/PostHog/posthog-php
Package posthog-php
Short Description PostHog PHP Library
License MIT
Homepage https://github.com/PostHog/posthog-php
Keywords posthog
Please rate this library. Is it a good library?
Informations about the package posthog-php
PostHog PHP
Please see the main PostHog docs.
Specifically, the PHP integration details.
Features
- ✅ Event capture and user identification
- ✅ Feature flag local evaluation
- ✅ Feature flag dependencies (new!) - Create conditional flags based on other flags
- ✅ Multivariate flags and payloads
- ✅ Group analytics
- ✅ Comprehensive test coverage
Quick Start
- Copy
.env.example
to.env
and add your PostHog credentials - Run
php example.php
to see interactive examples of all features
Questions?
Join our Slack community.
Contributing
- Download PHP and Composer
php composer.phar update
to install dependenciesbin/test
to run tests (this script calls./vendor/bin/phpunit --verbose test
)
All versions of posthog-php with dependencies
PHP Build Version
Package Version
Requires
ext-json Version
*
php Version >=8.0
php Version >=8.0
The package posthog/posthog-php contains the following files
Loading the files please wait ....