Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

Monolog architecture

Changing src/Monolog/LogRecord.php in Monolog reaches 107 modules. 99 files call it directly. Snapshot 39694a7.

The first file to open in Monolog is src/Monolog/LogRecord.php. A change there reaches 107 of 125 modules.

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

Monolog/LogRecord.php107 · 99 fan-in
Monolog/Level.php66 · 64 fan-in
Formatter/FormatterInterface.php60 · 41 fan-in
…/WrappingFormatterInterface.php43 · 1 fan-in
Monolog/Utils.php42 · 29 fan-in

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

Download the finding

Project: Monolog · Score: 91.3/100 (Excellent architecture) · 125 modules · 297 edges · PHP · 6 of 21 · Language score median 86.9

Cycles
0
Duplicate authorities
0
God modules
5
Layer violations
0
arc impact src/Monolog/LogRecord.php

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

README badge

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

Blast radius paths

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

Monolog · 39694a7

RankFileFan-inBlastShare
1src/Monolog/LogRecord.php

concentrates too many responsibilities, shared utility hub

9910786%
2src/Monolog/Level.php

concentrates too many responsibilities, shared utility hub

646653%
3src/Monolog/Formatter/FormatterInterface.php

concentrates too many responsibilities

416048%
4src/Monolog/Formatter/WrappingFormatterInterface.php14334%
5src/Monolog/Utils.php294234%
All ranked files
RankFileFan-inBlastShare
6src/Monolog/Processor/ProcessorInterface.php31714%
7src/Monolog/Handler/HandlerInterface.php11512%
8src/Monolog/Logger.php141411%
9src/Monolog/Formatter/LineFormatter.php10108%

Nearby proofs

Snapshot notes

In Seldaek monolog, a change that begins in Monolog LogRecord.php keeps traveling until it reaches Monolog Level.php, with Formatter FormatterInterface.php as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark cdecfabfcb.

Formatter WrappingFormatterInterface.php is worth opening beside Monolog LogRecord.php because Monolog Utils.php still participates when Formatter WrappingFormatterInterface.php moves, and Processor ProcessorInterface.php stays in view for Seldaek monolog, snapshot mark cdecfabfcb.

Review Handler HandlerInterface.php only after Monolog Level.php and Monolog Logger.php are both on the table, since the link from Formatter LineFormatter.php back to Formatter FormatterInterface.php belongs to Seldaek monolog under snapshot mark cdecfabfcb.

Monolog LogRecord.php and Monolog Level.php are later stops, and a reviewer who has already seen Formatter FormatterInterface.php should still look at Formatter WrappingFormatterInterface.php before treating the ROOT_CLUSTER group as understood for Seldaek monolog, snapshot mark cdecfabfcb.

Formatter WrappingFormatterInterface.php closes the file list after Monolog Utils.php and Monolog LogRecord.php, which keeps the Seldaek monolog note tied to snapshot mark cdecfabfcb, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • ROOT_CLUSTER (112 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 Seldaek monolog: Monolog LogRecord.php?
Start with Monolog LogRecord.php, because the rest of the Seldaek monolog walk leaves from that file and Monolog Level.php is the next file in the same review. Commit cdecfabfcb records it.
What else is on the Seldaek monolog walk besides Monolog LogRecord.php and Formatter FormatterInterface.php?
Formatter FormatterInterface.php and Formatter WrappingFormatterInterface.php stay on the walk with Monolog Utils.php, which are different files from Monolog LogRecord.php inside the ROOT_CLUSTER group for Seldaek monolog. Commit cdecfabfcb records it.
How should a reviewer use Processor ProcessorInterface.php in the Seldaek monolog snapshot?
Keep Processor ProcessorInterface.php, Handler HandlerInterface.php, and Monolog Logger.php open together, then check Formatter LineFormatter.php before merging the Seldaek monolog change. Commit cdecfabfcb records it.
Where does the Seldaek monolog review stop after Monolog LogRecord.php?
Stop after Monolog LogRecord.php, Monolog Level.php, and Formatter FormatterInterface.php have been compared with Formatter WrappingFormatterInterface.php, leaving the ROOT_CLUSTER group until those Seldaek monolog files are clear. Commit cdecfabfcb 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/monolog/" width="320" height="180" frameborder="0"></iframe>

Explore

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