Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

PhpSpreadsheet architecture

Changing src/PhpSpreadsheet/Exception.php in PhpSpreadsheet reaches 388 modules. 34 files call it directly. Snapshot 852ad2a.

The first file to open in PhpSpreadsheet is src/PhpSpreadsheet/Exception.php. A change there reaches 388 of 552 modules.

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

PhpSpreadsheet/Exception.php388 · 34 fan-in
Calculation/Exception.php371 · 110 fan-in
Style/Alignment.php371 · 15 fan-in
Shared/PasswordHasher.php371 · 2 fan-in
Worksheet/Protection.php371 · 1 fan-in

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

Download the finding

Project: PhpSpreadsheet · Score: 78.2/100 (Healthy architecture) · 552 modules · 1,619 edges · PHP · 19 of 21 · Language score median 86.9

Cycles
63
Duplicate authorities
0
God modules
28
Layer violations
0
arc impact src/PhpSpreadsheet/Exception.php

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

README badge

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

Blast radius paths

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

PhpSpreadsheet · 852ad2a

RankFileFan-inBlastShare
1src/PhpSpreadsheet/Exception.php

concentrates too many responsibilities, shared utility hub

3438870%
2src/PhpSpreadsheet/Calculation/Exception.php

concentrates too many responsibilities, shared utility hub

11037167%
3src/PhpSpreadsheet/Style/Alignment.php

concentrates too many responsibilities

1537167%
4src/PhpSpreadsheet/Shared/PasswordHasher.php237167%
5src/PhpSpreadsheet/Worksheet/Protection.php137167%
All ranked files
RankFileFan-inBlastShare
6src/PhpSpreadsheet/Cell/AddressRange.php2136967%
7src/PhpSpreadsheet/Calculation/Information/ExcelError.php14536867%
8src/PhpSpreadsheet/Calculation/Functions.php9836867%

Highest fan-in

src/PhpSpreadsheet/Calculation/Information/ExcelError.phpfan-in 145

Circular dependencies

This snapshot records 63 dependency cycles.

Nearby proofs

Snapshot notes

In PHPOffice phpspreadsheet, a change that begins in PhpSpreadsheet Exception.php keeps traveling until it reaches Calculation Exception.php, with Style Alignment.php as the third file on that walk and the Information-ExcelError.php group as the group around them, snapshot mark cbbeadcaef.

Shared PasswordHasher.php is worth opening beside PhpSpreadsheet Exception.php because Worksheet Protection.php still participates when Shared PasswordHasher.php moves, and Cell AddressRange.php stays in view for PHPOffice phpspreadsheet, snapshot mark cbbeadcaef.

Review Information ExcelError.php only after Calculation Exception.php and Calculation Functions.php are both on the table, since the link from Calculation ArrayEnabled.php back to Style Alignment.php belongs to PHPOffice phpspreadsheet under snapshot mark cbbeadcaef.

Shared StringHelper.php and PhpSpreadsheet Exception.php are later stops, and a reviewer who has already seen Calculation Exception.php should still look at Style Alignment.php before treating the Information-ExcelError.php group as understood for PHPOffice phpspreadsheet, snapshot mark cbbeadcaef.

Style Alignment.php closes the file list after Shared PasswordHasher.php and PhpSpreadsheet Exception.php, which keeps the PHPOffice phpspreadsheet note tied to snapshot mark cbbeadcaef, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • Information-ExcelError.php (150 modules)
  • Worksheet-Worksheet.php (295 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 PHPOffice phpspreadsheet: PhpSpreadsheet Exception.php?
Start with PhpSpreadsheet Exception.php, because the rest of the PHPOffice phpspreadsheet walk leaves from that file and Calculation Exception.php is the next file in the same review. Commit cbbeadcaef records it.
What else is on the PHPOffice phpspreadsheet walk besides PhpSpreadsheet Exception.php and Style Alignment.php?
Style Alignment.php and Shared PasswordHasher.php stay on the walk with Worksheet Protection.php, which are different files from PhpSpreadsheet Exception.php inside the Information-ExcelError.php group for PHPOffice phpspreadsheet. Commit cbbeadcaef records it.
How should a reviewer use Cell AddressRange.php in the PHPOffice phpspreadsheet snapshot?
Keep Cell AddressRange.php, Information ExcelError.php, and Calculation Functions.php open together, then check Calculation ArrayEnabled.php before merging the PHPOffice phpspreadsheet change. Commit cbbeadcaef records it.
Where does the PHPOffice phpspreadsheet review stop after Shared StringHelper.php?
Stop after Shared StringHelper.php, PhpSpreadsheet Exception.php, and Calculation Exception.php have been compared with Style Alignment.php, leaving the Information-ExcelError.php group until those PHPOffice phpspreadsheet files are clear. Commit cbbeadcaef 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/phpspreadsheet/" width="320" height="180" frameborder="0"></iframe>

Explore

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