
Packagist
Connect Packagist to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Pull metadata, download statistics, and security advisories for PHP packages from Packagist (the Composer package registry) into the PostHog Data warehouse.
Packagist's read APIs are public, so no credentials are required. Enter the packages you want to track, one per line (or comma-separated), as vendor/package names. A bare vendor name syncs every package published by that vendor. For example:
monolog/monolog
symfony/console
yourvendor
Download statistics sync incrementally per day; the other tables sync as a full refresh.
Configuration
| Option | Type | Required |
|---|---|---|
Packages | textarea | Yes |
Linking Packagist to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select Packagist
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import