Packagist

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.

Learn more
PostHog Wizard hedgehog

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

OptionTypeRequired
PackagestextareaYes

Linking Packagist to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Packagist
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Community questions