← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
PHP-Parser architecture
Changing lib/PhpParser/NodeAbstract.php in PHP-Parser reaches 164 modules. 21 files call it directly. Snapshot 679d41e.
The first file to open in PHP-Parser is lib/PhpParser/NodeAbstract.php. A change there reaches 164 of 277 modules.
This lead file reaches 59% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: PHP-Parser · Score: 90/100 (Excellent architecture) · 277 modules · 507 edges · PHP · 9 of 21 · Language score median 86.9
- Cycles
- 1
- Duplicate authorities
- 0
- God modules
- 12
- Layer violations
- 0
arc impact lib/PhpParser/NodeAbstract.phpUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/php-parser/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
PHP-Parser · 679d41e
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | lib/ concentrates too many responsibilities, shared utility hub | 21 | 164 | 59% |
| 2 | lib/ concentrates too many responsibilities, shared utility hub | 58 | 126 | 45% |
| 3 | lib/ concentrates too many responsibilities | 87 | 102 | 37% |
| 4 | lib/ | 12 | 41 | 15% |
| 5 | lib/ | 30 | 38 | 14% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | lib/ | 18 | 32 | 12% |
| 7 | lib/ | 30 | 31 | 11% |
| 8 | lib/ | 16 | 31 | 11% |
Circular dependencies
This snapshot records 1 dependency cycles.
Nearby proofs
- Pest architecture 91.9/100 · 260 modules
- Composer architecture 77.2/100 · 321 modules
- Flysystem architecture 89.9/100 · 173 modules
Snapshot notes
In nikic php-parser, a change that begins in PhpParser NodeAbstract.php keeps traveling until it reaches Node Expr.php, with PhpParser Node.php as the third file on that walk and the Node-Expr.php group as the group around them, snapshot mark afcedccfbe.
Node Scalar.php is worth opening beside PhpParser NodeAbstract.php because Node Stmt.php still participates when Node Scalar.php moves, and Node Name.php stays in view for nikic php-parser, snapshot mark afcedccfbe.
Review Expr BinaryOp.php only after Node Expr.php and Node Identifier.php are both on the table, since the link from PhpParser NodeAbstract.php back to PhpParser Node.php belongs to nikic php-parser under snapshot mark afcedccfbe.
Node Expr.php and PhpParser Node.php are later stops, and a reviewer who has already seen PhpParser NodeAbstract.php should still look at Node Scalar.php before treating the Node-Expr.php group as understood for nikic php-parser, snapshot mark afcedccfbe.
Node Stmt.php closes the file list after Node Name.php and PhpParser NodeAbstract.php, which keeps the nikic php-parser note tied to snapshot mark afcedccfbe, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- Node-Expr.php (17 modules)
- Expr-BinaryOp.php (86 modules)
- Node-UseItem.php (75 modules)
- PhpParser-NodeAbstract.php (47 modules)
- PhpParser-PhpVersion.php (19 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in nikic php-parser: PhpParser NodeAbstract.php?
- Start with PhpParser NodeAbstract.php, because the rest of the nikic php-parser walk leaves from that file and Node Expr.php is the next file in the same review. Commit afcedccfbe records it.
- What else is on the nikic php-parser walk besides PhpParser NodeAbstract.php and PhpParser Node.php?
- PhpParser Node.php and Node Scalar.php stay on the walk with Node Stmt.php, which are different files from PhpParser NodeAbstract.php inside the Node-Expr.php group for nikic php-parser. Commit afcedccfbe records it.
- How should a reviewer use Node Name.php in the nikic php-parser snapshot?
- Keep Node Name.php, Expr BinaryOp.php, and Node Identifier.php open together, then check PhpParser NodeAbstract.php before merging the nikic php-parser change. Commit afcedccfbe records it.
- Where does the nikic php-parser review stop after Node Expr.php?
- Stop after Node Expr.php, PhpParser Node.php, and Node Scalar.php have been compared with PhpParser NodeAbstract.php, leaving the Node-Expr.php group until those nikic php-parser files are clear. Commit afcedccfbe records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/php-parser/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo