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

    Interface PackageVersion

    Composer package version metadata.

    interface PackageVersion {
        name?: `${string}/${string}`;
        description?: string;
        version: string;
        version_normalized?: string;
        type?: string;
        time?: string;
        require?: Record<string, string>;
        require_dev?: Record<string, string>;
        conflict?: Record<string, string>;
        replace?: Record<string, string>;
        provide?: Record<string, string>;
        suggest?: Record<string, string>;
        license?: string[];
        authors?: PackageAuthor[];
        source?: PackageSource;
        dist?: PackageDist;
        autoload?: Record<string, unknown>;
        extra?: Record<string, unknown>;
        bin?: string[];
    }
    Index

    Properties

    name?: `${string}/${string}`

    Package name. Present on expanded metadata entries.

    description?: string

    Version description.

    version: string

    Version string.

    version_normalized?: string

    Normalized Composer version string.

    type?: string

    Composer package type.

    time?: string

    Release time.

    require?: Record<string, string>

    Runtime dependency constraints.

    require_dev?: Record<string, string>

    Development dependency constraints.

    conflict?: Record<string, string>

    Conflict constraints.

    replace?: Record<string, string>

    Replacement constraints.

    provide?: Record<string, string>

    Provided virtual packages.

    suggest?: Record<string, string>

    Suggested packages.

    license?: string[]

    SPDX license identifiers.

    authors?: PackageAuthor[]

    Package authors.

    source?: PackageSource

    Source repository reference.

    Distribution archive reference.

    autoload?: Record<string, unknown>

    Composer autoload config.

    extra?: Record<string, unknown>

    Composer extra config.

    bin?: string[]

    Executable files exposed by package.