Problem/Motivation

Some packages include a constant somewhere that indicates which version is installed, but some don't (or older versions didn't). To keep consistency in the UI and to avoid DX confusion, there needs to be a reliable way to determine which version of which package is installed.

Proposed resolution

Use some reverse engineering on the autoloader to determine the location of a package's composer.json file and potentially the vendor/composer/installed.json file. Fallback to matching hashes of known/expected packages associated with this project.

Comments

markcarver created an issue. See original summary.

  • markcarver committed 1a6a57a on 8.x-2.x
    Issue #3151478 by markcarver: Determine installed composer versions...
markhalliwell’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.