Packagist API Client - v1.0.0
    Preparing search index...

    Interface PackageListResponse

    Response returned by package listing endpoints.

    interface PackageListResponse {
        packageNames?: `${string}/${string}`[];
        packages?: Record<`${string}/${string}`, PackageListEntry>;
        package?: Record<`${string}/${string}`, PackageListEntry>;
    }
    Index

    Properties

    packageNames?: `${string}/${string}`[]

    Package names returned when no extra fields are requested.

    packages?: Record<`${string}/${string}`, PackageListEntry>

    Package metadata keyed by name when fields are requested.

    package?: Record<`${string}/${string}`, PackageListEntry>

    Packagist docs show this key, but live API returns packages.