
Packagist
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

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
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
packages | Package metadata: one row per configured package with description, type, repository, download totals, GitHub stats, and maintainers. | Full refresh | — | — |
versions | Package versions: one row per released version (and dev branch) of each configured package, with dependencies, dist/source links, and license. | Full refresh | — | — |
downloads | Daily download statistics: one row per configured package per day. | Incremental, Full refresh | date | — |
security_advisories | Security advisories affecting the configured packages, as reported by the Packagist security advisories API. | Full refresh | — | — |