Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Composer architecture

Changing src/Composer/Util/Platform.php in Composer reaches 204 modules. 49 files call it directly. Snapshot 5147ea1.

The first file to open in Composer is src/Composer/Util/Platform.php. A change there reaches 204 of 321 modules.

This lead file reaches 64% of the graph. The median published proof reaches 60%.

Util/Platform.php204 · 49 fan-in
Util/Filesystem.php200 · 37 fan-in
…wnloader/TransportException.php200 · 27 fan-in
IO/ConsoleIO.php199 · 8 fan-in
…ractOscProgramStatusEncoder.php199 · 1 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

Project: Composer · Score: 77.2/100 (Healthy architecture) · 321 modules · 1,360 edges · PHP · 20 of 21 · Language score median 86.9

Cycles
44
Duplicate authorities
0
God modules
32
Layer violations
0
arc impact src/Composer/Util/Platform.php

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for Composer
[![ArcSight architecture proof for Composer](https://arcsight.ai/badge/proof/composer/)](https://arcsight.ai/repositories/composer/)

Blast radius paths

Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.

Composer · 5147ea1

RankFileFan-inBlastShare
1src/Composer/Util/Platform.php

concentrates too many responsibilities, shared utility hub

4920464%
2src/Composer/Util/Filesystem.php

concentrates too many responsibilities, shared utility hub

3720062%
3src/Composer/Downloader/TransportException.php

concentrates too many responsibilities

2720062%
4src/Composer/IO/ConsoleIO.php819962%
5src/Composer/Console/AbstractOscProgramStatusEncoder.php119962%
All ranked files
RankFileFan-inBlastShare
6src/Composer/IO/IOInterface.php8119761%
7src/Composer/Package/PackageInterface.php7719761%
8src/Composer/Package/BasePackage.php4919761%

Highest fan-in

src/Composer/IO/IOInterface.phpfan-in 81

Circular dependencies

This snapshot records 44 dependency cycles.

Nearby proofs

Snapshot notes

In composer composer, a change that begins in Util Platform.php keeps traveling until it reaches Util Filesystem.php, with Downloader TransportException.php as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark bbeebbeaff.

IO ConsoleIO.php is worth opening beside Util Platform.php because Console AbstractOscProgramStatusEncoder.php still participates when IO ConsoleIO.php moves, and IO IOInterface.php stays in view for composer composer, snapshot mark bbeebbeaff.

Review Package PackageInterface.php only after Util Filesystem.php and Package BasePackage.php are both on the table, since the link from Composer Config.php back to Downloader TransportException.php belongs to composer composer under snapshot mark bbeebbeaff.

Util Platform.php and Util Filesystem.php are later stops, and a reviewer who has already seen Downloader TransportException.php should still look at IO ConsoleIO.php before treating the ROOT_CLUSTER group as understood for composer composer, snapshot mark bbeebbeaff.

IO ConsoleIO.php closes the file list after Console AbstractOscProgramStatusEncoder.php and Util Platform.php, which keeps the composer composer note tied to snapshot mark bbeebbeaff, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (263 modules)

CLI workflow

Impact, then scan, fix, finish, and watch.

  • arc impact <file>See what a change breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

FAQ

Which file should change first in composer composer: Util Platform.php?
Start with Util Platform.php, because the rest of the composer composer walk leaves from that file and Util Filesystem.php is the next file in the same review. Commit bbeebbeaff records it.
What else is on the composer composer walk besides Util Platform.php and Downloader TransportException.php?
Downloader TransportException.php and IO ConsoleIO.php stay on the walk with Console AbstractOscProgramStatusEncoder.php, which are different files from Util Platform.php inside the ROOT_CLUSTER group for composer composer. Commit bbeebbeaff records it.
How should a reviewer use IO IOInterface.php in the composer composer snapshot?
Keep IO IOInterface.php, Package PackageInterface.php, and Package BasePackage.php open together, then check Composer Config.php before merging the composer composer change. Commit bbeebbeaff records it.
Where does the composer composer review stop after Util Platform.php?
Stop after Util Platform.php, Util Filesystem.php, and Downloader TransportException.php have been compared with IO ConsoleIO.php, leaving the ROOT_CLUSTER group until those composer composer files are clear. Commit bbeebbeaff records it.

Run ArcSight on your repo

Install locally, then run arc impact on the file you plan to change — before merge.

npx arcsight init
arc impact <path>
Install ArcSight →

Embed this report

Use this iframe to show the architecture badge on your site.

<iframe src="https://arcsight.ai/embed/composer/" width="320" height="180" frameborder="0"></iframe>

Explore

Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo