A package for integrating PostHog with your Laravel app.
You can install the package via composer:
composer require arcdigital/laravel-posthog
If you are using Laravel, you can publish the config file with:
You can publish the config file with:
php artisan vendor:publish --tag="posthog-config"
use PostHog\PostHog;
PostHog::capture(array(
'distinctId' => 'test-user',
'event' => 'test-event'
));
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.