CycloneDX / CycloneDX/cyclonedx-php-composer

feat: document platform dependencies

Open
#435 0 comments 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest help wanted
Dominant language
PHP
Stars
87
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Extraneous dependencies and platform requirements should be marked as such.
Relevant CycloneDX specification:
- https://github.com/CycloneDX/specification/issues/321
- https://github.com/CycloneDX/specification/issues/233

How this is specified in composer:

> The following types of platform packages exist and can be depended on:
>
> PHP (`php` and the subtypes: `php-64bit`, `php-ipv6`, `php-zts php-debug`)
> PHP Extensions (`ext-*`, e.g. `ext-mbstring`)
> PHP Libraries (`lib-*`, e.g. `lib-curl`)
> Composer (`composer`, `composer-plugin-api`, `composer-runtime-api`)
>
> To see the complete list of platform packages available in your environment you can run `php composer.phar show --platform` (or `show -p` for short).
>
> The differences between the various Composer platform packages are explained further in this document.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.