cyclonedx/cyclonedx-php-composer
Creates CycloneDX Software Bill-of-Materials (SBOM) from PHP Composer projects
v6.2.0
2.1M downloads/mo
#1447 most downloaded on Packagist
CycloneDX/cyclonedx-php-composer
What this package is like to depend on
Last release 6 months ago
17 Feb 2026
Release timing varies
gaps range from 9 days to 9 months
Nearly every release is documented
notes for 45 of 49 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
52 releases · first in 2019
4 releases in the last 12 months
see the full history below
Release timeline
52 releases · Dec 2019 to Feb 2026Releases
latest 52-
v6.2.017 Feb 2026Release notes
Open source →Refactor
- Migrated to
cyclonedx/cyclonedx-library:^4.0(via #619)
Dependencies
- Raised dependency
cyclonedx/cyclonedx-library:^4.0, was:^3.9(via #619)
Style
- Applied latest PHP Coding Standards (via #617)
What's Changed
- chore(deps): bump phpunit for github.com/advisories/GHSA-vvj3-c3rp-c85p by @jkowalleck in #614
- tools(deps-dev): Update icanhazstring/composer-unused requirement from 0.9.5 to 0.9.6 in /tools/composer-unused by @dependabot[bot] in #613
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.48.2 to 2.49.0 in /tools/composer-normalize by @dependabot[bot] in #611
- tools(deps-dev): Update vimeo/psalm requirement from 6.14.3 to 6.15.0 in /tools/psalm by @dependabot[bot] in #612
- chore: set dev-master 6.x-dev by @jkowalleck in #618
- feat: migrate to CycloneDX libary v4 by @jkowalleck in #619
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.49.0 to 2.50.0 in /tools/composer-normalize by @dependabot[bot] in #616
- tools(deps-dev): Update vimeo/psalm requirement from 6.15.0 to 6.15.1 in /tools/psalm by @dependabot[bot] in #615
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.92.3 to 3.94.0 in /tools/php-cs-fixer by @dependabot[bot] in #617
- chore: prep v6.2.0 by @jkowalleck in #620
- chore: prep v6.2.0 by @jkowalleck in #621
Full Changelog: v6.1.0...v6.2.0
- Migrated to
-
v6.1.007 Jan 2026Release notes
Open source →Added
Refactor
- Migrated to
cyclonedx/cyclonedx-library:^3.9(via #594)
Dependencies
- Raised dependency
cyclonedx/cyclonedx-library:^3.9, was:^3.3(via #594)
What's Changed
- tests: fix test app compat by @jkowalleck in #593
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.89.2 to 3.91.0 in /tools/php-cs-fixer by @dependabot[bot] in #592
- gh-actions(deps): Bump actions/checkout from 5 to 6 by @dependabot[bot] in #590
- refactor: migrated to
cyclonedx/cyclonedx-library:^3.9by @jkowalleck in #594 - ci: test composer 2.9 by @jkowalleck in #596
- gh-actions(deps): Bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #598
- gh-actions(deps): Bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #602
- gh-actions(deps): Bump actions/cache from 4 to 5 by @dependabot[bot] in #599
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.91.1 to 3.92.3 in /tools/php-cs-fixer by @dependabot[bot] in #603
- chore: PR remplate by @jkowalleck in #605
- chore(deps): fix min version inconsistency by @jkowalleck in #606
- tools(deps-dev): Update vimeo/psalm requirement from 6.13.1 to 6.14.3 in /tools/psalm by @dependabot[bot] in #604
- feat: support PHP 8.5 by @jkowalleck in #595
- chore: prep v6.1.0 by @jkowalleck in #607
Full Changelog: v6.0.0...v6.1.0
- Migrated to
-
v6.0.017 Nov 2025Release notes
Open source →BREAKING changes
What's Changed
- docs: what was refactored in v5.3.0 by @jkowalleck in #584
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.89.1 to 3.89.2 in /tools/php-cs-fixer by @dependabot[bot] in #585
- fix!: dont use Packages' dev-version by @jkowalleck in #588
- chore: prep v6.0.0 by @jkowalleck in #589
Full Changelog: v5.3.0...v6.0.0
Release notes
Open source → -
v5.3.027 Oct 2025Release notes
Open source →Added basic support for CycloneDX Specification-1.7.
Changed
- This tool may support CycloneDX Specification-1.7 now (via #579)
This feature depends oncyclonedx/cyclonedx-library:^3.8.
Refactor
- Reworked internals to automatically support any SpecVersion provided by
cyclonedx/cyclonedx-library. (via #579)
Previously, the supported versions were managed by this very tool and needed manual updates.
What's Changed
- tools(deps-dev): Update icanhazstring/composer-unused requirement from 0.9.2 to 0.9.3 in /tools/composer-unused by @dependabot[bot] in #554
- tools(deps-dev): Update vimeo/psalm requirement from 6.10.3 to 6.12.0 in /tools/psalm by @dependabot[bot] in #560
- tools(deps-dev): Update vimeo/psalm requirement from 6.12.0 to 6.12.1 in /tools/psalm by @dependabot[bot] in #561
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.75.0 to 3.82.2 in /tools/php-cs-fixer by @dependabot[bot] in #563
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.82.2 to 3.84.0 in /tools/php-cs-fixer by @dependabot[bot] in #564
- tools(deps-dev): Update vimeo/psalm requirement from 6.12.1 to 6.13.0 in /tools/psalm by @dependabot[bot] in #565
- tools(deps-dev): Update icanhazstring/composer-unused requirement from 0.9.3 to 0.9.4 in /tools/composer-unused by @dependabot[bot] in #566
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.84.0 to 3.85.1 in /tools/php-cs-fixer by @dependabot[bot] in #567
- tools(deps-dev): Update vimeo/psalm requirement from 6.13.0 to 6.13.1 in /tools/psalm by @dependabot[bot] in #569
- gh-actions(deps): Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in #568
- gh-actions(deps): Bump actions/checkout from 4 to 5 by @dependabot[bot] in #570
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.47.0 to 2.48.0 in /tools/composer-normalize by @dependabot[bot] in #572
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.85.1 to 3.86.0 in /tools/php-cs-fixer by @dependabot[bot] in #571
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.48.0 to 2.48.2 in /tools/composer-normalize by @dependabot[bot] in #573
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.86.0 to 3.87.1 in /tools/php-cs-fixer by @dependabot[bot] in #574
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.87.1 to 3.87.2 in /tools/php-cs-fixer by @dependabot[bot] in #575
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.87.2 to 3.88.2 in /tools/php-cs-fixer by @dependabot[bot] in #577
- tools(deps-dev): Update icanhazstring/composer-unused requirement from 0.9.4 to 0.9.5 in /tools/composer-unused by @dependabot[bot] in #576
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.88.2 to 3.89.0 in /tools/php-cs-fixer by @dependabot[bot] in #578
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.89.0 to 3.89.1 in /tools/php-cs-fixer by @dependabot[bot] in #582
- gh-actions(deps): Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #581
- gh-actions(deps): Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #580
- feat: basic support cdx17 by @jkowalleck in #579
- chore: prep v5.3.0 by @jkowalleck in #583
Full Changelog: v5.2.3...v5.3.0
Release notes
Open source →Added basic support for CycloneDX Specification-1.7.
- Changed
- This tool may support CycloneDX Specification-1.7 now (via #579)
This feature depends oncyclonedx/cyclonedx-library:^3.8.
- This tool may support CycloneDX Specification-1.7 now (via #579)
- Refactor
- Reworked internals to automatically support any SpecVersion provided by
cyclonedx/cyclonedx-library. (via #579)
Previously, the supported versions were managed by this very tool and needed manual updates.
- Reworked internals to automatically support any SpecVersion provided by
- This tool may support CycloneDX Specification-1.7 now (via #579)
-
v5.2.312 May 2025Release notes
Open source →Maintenance release.
What's Changed
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.69.0 to 3.69.1 in /tools/php-cs-fixer by @dependabot in #532
- tools(deps-dev): Update vimeo/psalm requirement from 6.7.1 to 6.8.6 in /tools/psalm by @dependabot in #533
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.69.1 to 3.70.0 in /tools/php-cs-fixer by @dependabot in #534
- tools(deps-dev): Update vimeo/psalm requirement from 6.8.6 to 6.8.8 in /tools/psalm by @dependabot in #535
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.70.0 to 3.71.0 in /tools/php-cs-fixer by @dependabot in #536
- tools(deps-dev): Update icanhazstring/composer-unused requirement from 0.8.11 to 0.9.1 in /tools/composer-unused by @dependabot in #539
- tools(deps-dev): Update vimeo/psalm requirement from 6.8.8 to 6.8.9 in /tools/psalm by @dependabot in #538
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.71.0 to 3.72.0 in /tools/php-cs-fixer by @dependabot in #537
- docs by @jkowalleck in #540
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.72.0 to 3.73.1 in /tools/php-cs-fixer by @dependabot in #541
- tools(deps-dev): Update icanhazstring/composer-unused requirement from 0.9.1 to 0.9.2 in /tools/composer-unused by @dependabot in #542
- tools(deps-dev): Update vimeo/psalm requirement from 6.8.9 to 6.9.4 in /tools/psalm by @dependabot in #543
- tools(deps-dev): Update vimeo/psalm requirement from 6.9.4 to 6.9.6 in /tools/psalm by @dependabot in #545
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.73.1 to 3.74.0 in /tools/php-cs-fixer by @dependabot in #546
- docs: fix style by @jkowalleck in #547
- tools(deps-dev): Update vimeo/psalm requirement from 6.9.6 to 6.10.0 in /tools/psalm by @dependabot in #548
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.74.0 to 3.75.0 in /tools/php-cs-fixer by @dependabot in #549
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.45.0 to 2.46.0 in /tools/composer-normalize by @dependabot in #550
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.46.0 to 2.47.0 in /tools/composer-normalize by @dependabot in #551
- tools(deps-dev): Update vimeo/psalm requirement from 6.10.0 to 6.10.2 in /tools/psalm by @dependabot in #553
- tools(deps-dev): Update vimeo/psalm requirement from 6.10.2 to 6.10.3 in /tools/psalm by @dependabot in #555
- chore: GH workflow permissions by @jkowalleck in #557
- chore: release via GH action from softprops by @jkowalleck in #556
Full Changelog: v5.2.2...v5.2.3
-
v5.2.3-alpha112 May 2025 pre-releaseRelease notes
Open source →chore: release via GH action from softprops
Signed-off-by: Jan Kowalleck <[email protected]>
-
v5.2.219 Feb 2025Release notes
Open source →Added
Misc
- Added
Overridemarkers where needed (via #531)
See also: https://wiki.php.net/rfc/marking_overriden_methods
What's Changed
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.68.1 to 3.68.5 in /tools/php-cs-fixer by @dependabot in #525
- chore: pin psalm by @jkowalleck in #526
- chore: tools adjusted php 8.1 by @jkowalleck in #527
- chore: modernize composer-require-checker by @jkowalleck in #528
- chore: modernize phpunit by @jkowalleck in #529
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from 3.68.5 to 3.69.0 in /tools/php-cs-fixer by @dependabot in #530
- tools(deps-dev): Update vimeo/psalm requirement from 6.5.1 to 6.7.1 in /tools/psalm by @dependabot in #531
- feat: official support for php8.4 by @jkowalleck in #522
Full Changelog: v5.2.1...v5.2.2
Release notes
Open source →- Added
- Misc
- Added
Overridemarkers where needed (via #531)
See also: https://wiki.php.net/rfc/marking_overriden_methods
- Added
- Added
-
v5.2.127 Jan 2025Release notes
Open source →Maintenance release.
Added
Style
- Applied latest PHP Coding Standards (via #507)
Misc
- Various refactors
What's Changed
- ci: modernize artifact operations by @jkowalleck in #483
- chore: psalm php-version auto-detect by @jkowalleck in #484
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.54.0 to v3.56.1 in /tools/php-cs-fixer by @dependabot in #485
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.56.1 to v3.57.1 in /tools/php-cs-fixer by @dependabot in #486
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.57.1 to v3.57.2 in /tools/php-cs-fixer by @dependabot in #487
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.57.2 to v3.58.1 in /tools/php-cs-fixer by @dependabot in #488
- docs: OSSF best practice shield as percentage by @jkowalleck in #489
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.58.1 to v3.59.1 in /tools/php-cs-fixer by @dependabot in #490
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.20 to 10.5.21 in /tools/phpunit by @dependabot in #491
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.59.1 to v3.59.3 in /tools/php-cs-fixer by @dependabot in #493
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.42.0 to 2.43.0 in /tools/composer-normalize by @dependabot in #492
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.21 to 10.5.24 in /tools/phpunit by @dependabot in #495
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.24 to 10.5.25 in /tools/phpunit by @dependabot in #496
- docs by @jkowalleck in #502
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.43.0 to 2.44.0 in /tools/composer-normalize by @dependabot in #503
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.59.3 to v3.65.0 in /tools/php-cs-fixer by @dependabot in #507
- tools(deps-dev): Update ergebnis/composer-normalize requirement from 2.44.0 to 2.45.0 in /tools/composer-normalize by @dependabot in #509
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.65.0 to v3.66.0 in /tools/php-cs-fixer by @dependabot in #510
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.66.0 to v3.67.0 in /tools/php-cs-fixer by @dependabot in #511
- Update 1-feature_request.md by @jkowalleck in #512
- Update 2-bug_report.md by @jkowalleck in #513
- chore: how to gather version for bugreports by @jkowalleck in #514
- chore: validation issues template version isntructions by @jkowalleck in #515
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.67.0 to v3.68.1 in /tools/php-cs-fixer by @dependabot in #518
- tools(deps-dev): Update vimeo/psalm requirement from 5.16.0 to 6.0.0 in /tools/psalm by @dependabot in #519
- tools(deps-dev): Update maglnet/composer-require-checker requirement from 4.7.1 to 4.14.0 in /tools/composer-require-checker by @dependabot in #516
- feat: support composer 2.7 2.8 by @jkowalleck in #523
- chore: streamline tools by @jkowalleck in #524
Full Changelog: v5.2.0...v5.2.1
-
v5.2.030 Apr 2024Release notes
Open source →Added
Dependencies
- Raised dependency
cyclonedx/cyclonedx-library:^3.3, was:^3.2(via #479)
What's Changed
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.19 to 10.5.20 in /tools/phpunit by @dependabot in #478
- feat: populate license acknowledgement by @jkowalleck in #479
- chore: prep v5.2.0 by @jkowalleck in #481
- ci: modernize artifact action by @jkowalleck in #482
Full Changelog: v5.1.0...v5.2.0
- Raised dependency
-
v5.1.023 Apr 2024Release notes
Open source →Added basic support for CycloneDX Specification-1.6.
Changed
- This tool supports CycloneDX Specification-1.6 now (via #477)
Added
- CLI switch
--spec-versionnow supports value1.6to reflect CycloneDX Specification-1.6 (via #477)
Default value for that switch is unchanged - still1.5.
Style
- Applied latest PHP Coding Standards (via #469)
Dependencies
- Raised dependency
cyclonedx/cyclonedx-library:^3.2, was:^3.1(via #477)
What's Changed
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.9 to 10.5.10 in /tools/phpunit by @dependabot in #462
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.49.0 to v3.50.0 in /tools/php-cs-fixer by @dependabot in #463
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.50.0 to v3.51.0 in /tools/php-cs-fixer by @dependabot in #464
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.10 to 10.5.11 in /tools/phpunit by @dependabot in #465
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.11 to 10.5.12 in /tools/phpunit by @dependabot in #466
- chore: re-enable
symfony/console:>=7as dev-dep by @jkowalleck in #467 - tools(deps-dev): Update phpunit/phpunit requirement from 10.5.12 to 10.5.13 in /tools/phpunit by @dependabot in #468
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.13 to 10.5.15 in /tools/phpunit by @dependabot in #470
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.15 to 10.5.16 in /tools/phpunit by @dependabot in #471
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.51.0 to v3.52.1 in /tools/php-cs-fixer by @dependabot in #469
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.16 to 10.5.17 in /tools/phpunit by @dependabot in #472
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.52.1 to v3.53.0 in /tools/php-cs-fixer by @dependabot in #473
- feat: support CycloneDX v1.6 by @jkowalleck in #477
- tools(deps-dev): Update phpunit/phpunit requirement from 10.5.17 to 10.5.19 in /tools/phpunit by @dependabot in #476
- tools(deps-dev): Update friendsofphp/php-cs-fixer requirement from v3.53.0 to v3.54.0 in /tools/php-cs-fixer by @dependabot in #475
Full Changelog: v5.0.1...v5.1.0
Release notes
Open source →Added basic support for CycloneDX Specification-1.6.
- Changed
- This tool supports CycloneDX Specification-1.6 now (via #477)
- Added
- CLI switch
--spec-versionnow supports value1.6to reflect CycloneDX Specification-1.6 (via #477)
Default value for that switch is unchanged - still1.5.
- CLI switch
- Style
- Applied latest PHP Coding Standards (via #469)
- Dependencies
- Raised dependency
cyclonedx/cyclonedx-library:^3.2, was:^3.1(via #477)
- Raised dependency
-
v5.0.105 Feb 2024 -
v5.0.003 Dec 2023 -
v4.2.327 Nov 2023 -
v4.2.205 Nov 2023 -
v4.2.127 Oct 2023Release notes
Open source →- Docs
- Moved all non-public API into a sub-namespace called
_internal, so that its reliability is obvious. (via #427)
- Moved all non-public API into a sub-namespace called
- Docs
-
v4.2.004 Sep 2023 -
v4.1.128 Aug 2023 -
v4.1.004 Jul 2023Release notes
Open source →Added support for CycloneDX Specification-1.5.
- Changed
- Added
- Dependencies
-
v4.0.230 Apr 2023 -
v4.0.124 Apr 2023Release notes
Open source →- Fixed
- Improved error reporting in case an invalid BOM would be created (via #363)
- Fixed
-
v4.0.031 Mar 2023Release notes
Open source →Based on OWASP Software Component Verification Standard for Software Bill of Materials (SCVS SBOM) criteria, this tool is now capable of producing SBOM documents almost passing Level-2 (only signing needs to be done externally).
Affective changes based on these SCVS SBOM criteria:- 2.1 – Added Support for CycloneDX 1.4 (via #250)
- 2.3 – SBOM has a unique identifier (#279 via #250, #353)
- 2.7 – SBOM is timestamped (#112 via #250)
- 2.9 – Accuracy of Inventory was improved (#102, #122, #261, #313 via #250)
- 2.10 – Accuracy of Inventory of all test components was improved (#102, #122, #261, #313 via #250)
- 2.11 – SBOM metadata was enhanced (#171 via #250)
- 2.15 – SPDX license expression detection fixed (#128 via #250)
4.0.0 - Details
- BREAKING changes
- Removed support for PHP
<8.1(#91, #128 via #250) - Removed support for Composer
<2.3(#153 via #250) - CLI
- Removed deprecated composer command
make-bom, callcomposer CycloneDX:make-sbominstead (#293 via #309) - Changed option
output-fileto default to-now, which causes to print to STDOUT (via #250) - Removed option
exclude-devin favor of new optionomit(via #250) - Removed option
exclude-pluginsin favor of new optionomit(via #250) - Removed option
no-version-normalization(#102 via #250)
- Removed deprecated composer command
- SBOM results
- Dependencies
- Removed support for PHP
- Changed
- Added
- Evidence collection knows actually installed packages (#122 via #250)
- SBOM results
- Support for CycloneDX Spec v1.4 (via #250)
- might have
serialnumberpopulated (#279 via #250, #353) - might have
metadata.timestamppopulated (#112 via #250) - might have
metadata.tools[].tool.externalReferencespopulated (#171 via #250) - might have
components[].component.authorpopulated (#261 via #250) - might have
components[].component.propertiespopulated according tocdx:composerNamespace Taxonomy (#313 via #250)
- CLI
- Misc
-
v4.0.0-RC224 Mar 2023 pre-releaseNothing published for this version
-
v4.0.0-RC112 Mar 2023 pre-releaseNothing published for this version
-
v3.11.011 Feb 2023 -
v3.10.215 Sep 2022Release notes
Open source →Maintenance Release.
- Legal
- Transferred copyright to OWASP Foundation. (via #244)
- Legal
-
v3.10.116 Aug 2022 -
v3.10.002 Apr 2022 -
v3.9.204 Dec 2021Release notes
Open source →- Fixed
- ExternalReferences fetched from composer's
support.emailare correctly prefixed with "mailto:". (via #161)
Value was unmodified in the past.
- ExternalReferences fetched from composer's
- Fixed
-
v3.9.103 Dec 2021 -
v3.9.001 Dec 2021Release notes
Open source →- Added
- The resulting SBoM hold ExternalReferences as fetched from package descriptions. (via #145)
- Added
-
v3.8.030 Nov 2021Release notes
Open source →- Fixed
- Compatibility with composer v2.0.0 to v2.0.4 was improved. (via #152)
- Possible crashes when composer was not able to detect component's version properly.
- Fixed
-
v3.7.010 Nov 2021Release notes
Open source →- Added
- CLI got a new switch
--no-version-normalization. (via #138)
That allows to omit component version-string normalization.
Per default this plugin will normalize version strings by stripping leading "v".
This is a compatibility-switch. The next major-version of this plugin will not modify component versions. (see #102)
- CLI got a new switch
- Added
-
v3.6.015 Oct 2021 -
v3.5.007 Oct 2021Release notes
Open source →- Changed
- Core library
- Was moved to an own package: https://packagist.org/packages/cyclonedx/cyclonedx-library
The new external package/library is a one-to-one copy of the original code from this project.
The new external package/library is a dependency/required of this project. So usage/leverage of the original code is still possible without any changes for third parties.
See #87 for details.
- Was moved to an own package: https://packagist.org/packages/cyclonedx/cyclonedx-library
- Core library
- Changed
-
v3.4.116 Sep 2021Release notes
Open source →- Fixed
- Improved compatibility to composer. (via #125)
This was made possible since composer's type hints are getting fixed.
See https://github.com/composer/composer/releases/tag/2.1.7Added many type annotations internally, which may have an effect on CI/static analysis for people using Composer as a dependency.
- Improved compatibility to composer. (via #125)
- Fixed
-
v3.4.012 Sep 2021Release notes
Open source →- Changed
- Core library
- Some repository data-types are lists of unique items, so no duplicates are kept.
Affected classes/data-types:ComponentRepositoryDisjunctiveLicenseRepositoryToolRepository
- Some repository data-types are lists of unique items, so no duplicates are kept.
- Core library
- Added
- CLI via
composer make-bom- Will try to populate dependencies of the SBoM result.
- Core library
- Added
BomRefmodel to link bom elements in general.
AddedBomRefRepositorydata type as a collection of uniqueBomRef. - Added bomRef to
Componentmodel to link components as dependencies.
Added dependencies toComponentmodel. - Added ability to serialize
dependenciesto XML. - Added ability to serialize
dependenciesto JSON.
- Added
- CLI via
- Misc
- Moved development docs to
docs/dev/. - Refactored the plugin's internals.
- Moved development docs to
- Changed
-
v3.3.129 Jul 2021Release notes
Open source →- Fixed
- CLI via
composer make-bom- Will ignore "AliasPackages" when generating the SBoM, since their alias-target is part of the SBoM already.
- CLI via
- Fixed
-
v3.3.025 Jul 2021Release notes
Open source →- Changed
- Core library
- SerializersGroups will skip unsupported elements silently, instead of forwarding caught exceptions.
This results in an overall smoother SBoM generation process, just as intended.
- SerializersGroups will skip unsupported elements silently, instead of forwarding caught exceptions.
- Core library
- Added
- CLI via
composer make-bom- Will try to populate metadata of the SBoM result.
- Core library
- Added models for spec elements:
metadata,tools,tool - Added ability to serialize
metadatato XML. - Added ability to serialize
metadatato JSON.
- Added models for spec elements:
- CLI via
- Fixed
- CLI via
composer make-bom- composer packages of type
projectorcomposer-pluginresult as CycloneDX component of typeapplication, waslibrary.
- composer packages of type
- CLI via
- Misc
- Updated demos/examples to reflect current state of SBoM results including metadata.
- Split some tests to more fine-grained scenarios.
- Changed
-
v3.2.019 Jul 2021Release notes
Open source →- Changed
- CLI via
composer make-bom- All informational/error output will appear on STDERR, was STDOUT.
Output of the SBoM might still happen on STDOUT.
This makes utilization of STDOUT via--output-file=-more flexible (pipe, redirect) whilst verbosity can be increased via-v.
- All informational/error output will appear on STDERR, was STDOUT.
Output of the SBoM might still happen on STDOUT.
- CLI via
- Added
- CLI via
composer make-bom- Added an optional argument
composer-file.
If given, then the SBoM is generated based on that file instead of the file in the current working directory.
This enables the plugin to analyze projects outside the plugin's own setup.
- Added an optional argument
- CLI via
- Fixed
- Fixed detection of invalid/outdated composer lock file.
- Fixed a rare case that caused the CLI to crash unexpectedly, if the composer lock file was unexpected.
- Misc
- Added composer keywords.
- Refactored the plugin's internals.
- Added more tests for internals.
- Changed
-
v3.1.113 Jul 2021Release notes
Open source →- Misc
- Updated some documentation.
- Bumped some dev-tools.
- Added normalizer for
composer.jsonfiles.
- Misc
-
v3.1.013 Jul 2021Release notes
Open source →- Added
- CLI via
composer make-bom- Per default the command will validate the resulting SBoM before writing it to file/stdOut.
- Added a switch
--no-validateto disable result validation. - When the verbosity at "debug" level, then detailed debug info will be put out. This should help to find validation issues.
- Validation classes/methods to test SBoM in XML and JSON format for spec 1.1, 1.2, 1.3
- CLI via
- Added
-
v3.0.005 Jul 2021Release notes
Open source →- Breaking Changes
- Now requires php
^7.3 || ^8.0, was^7.1 || ^8.0. - Now requires composer v2 -
composer-plugin-api:^2.0, wascomposer-plugin-api:^1.1||^2.0. - CLI via
composer make-bom- Now defaults to the latest supported version of CycloneDX spec: 1.3
See option--spec-version. - Deprecated switch
--jsonwas removed.
Use option--output-format=JSONinstead.
- Now defaults to the latest supported version of CycloneDX spec: 1.3
- Component's license in SpdxLicenseExpression format is no longer split into disjunctive licenses. Still using licenses properly in the resulting output file.
- Complete rewrite/refactor.
Expect library classes/methods/functions to be removed, renamed or incompatible to previous versions - see the source for changes.
- Now requires php
- Added
- CLI
- Output is less verbose per default. Can be increased via
-v,-vv,-vvv. - Support for output to STDOUT. Use option
--output-file=-. - Added an optional option
--spec-versionfor the CycloneDX spec version.
Supported values: "1.1", "1.2", "1.3".
Defaults to "1.3".
- Output is less verbose per default. Can be increased via
- Support for JSON output format.
JSON support was a preview before and became a basic part of the plugin now.
- CLI
- Removed
- This plugin no longer supports
php<7.3. - This plugin no longer supports composer v1.
- CLI
- Deprecated switch
--jsonwas removed.
Use option--output-format=JSONinstead.
- Deprecated switch
- This plugin no longer supports
- Fixed
- Some cases when the JSON SBoM generator created schema-invalid data.
- Misc
- Utilize
package-url/packageurl-phpover own implementation. - Added more tests during the build process.
- Added Psalm & PHP-CS-Fixer to the CI chain and fixed all findings accordingly.
- Added a demo run of the plugin to the CI chain.
- Utilize
- Breaking Changes
-
v2.1.105 Jul 2021 -
v2.1.024 May 2021 -
v2.0.313 May 2021 -
v2.0.213 May 2021 -
v2.0.111 Apr 2021Release notes
Open source →- Added
- Support for slim dist-builds (via #24)
- Misc
- Pinned dev-requirements to exact versions to ensure reproducible tests. (via #37)
- Added (code) quality tests to the dev-process. (see #23)
- CI's unit-tests just run reasonable combinations of OperatingSystem, PhpVersions, dependencies. (via #34, #54)
- applied coding standards to all php files. (via #40)
- Added
-
v2.0.006 Mar 2021Nothing published for this version
-
v1.2.006 Feb 2021Nothing published for this version
-
v1.1.025 Nov 2020Nothing published for this version
-
v1.0.113 Oct 2020 -
v1.0.005 Dec 2019Nothing published for this version