Skip to main content
ArcSight

← HomepageAll repository proofValidation recordState of TS Architecture 2026

Repository proof

BookStack architecture

Changing app/App/Model.php in BookStack reaches 328 modules. 37 files call it directly. Snapshot 0b6b667.

The first file to open in BookStack is app/App/Model.php. A change there reaches 328 of 663 modules.

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

App/Model.php328 · 37 fan-in
Permissions/Permission.php327 · 62 fan-in
Models/Loggable.php325 · 22 fan-in
Facades/Theme.php325 · 14 fan-in
Theming/ThemeEvents.php322 · 11 fan-in

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

Download the finding

Project: BookStack · Score: 79.5/100 (Healthy architecture) · 663 modules · 1,573 edges · PHP · 18 of 21 · Language score median 86.9

Cycles
51
Duplicate authorities
41
God modules
29
Layer violations
0
arc impact app/App/Model.php

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

README badge

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

Blast radius paths

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

BookStack · 0b6b667

RankFileFan-inBlastShare
1app/App/Model.php

concentrates too many responsibilities, shared utility hub

3732849%
2app/Permissions/Permission.php

concentrates too many responsibilities, shared utility hub

6232749%
3app/Activity/Models/Loggable.php

concentrates too many responsibilities

2232549%
4app/Facades/Theme.php1432549%
5app/Theming/ThemeEvents.php1132249%
All ranked files
RankFileFan-inBlastShare
6app/Exceptions/ImageUploadException.php1331948%
7app/Exceptions/NotFoundException.php1931748%
8app/Entities/Models/BookChild.php1231748%

Highest fan-in

app/Users/Models/User.phpfan-in 87

Circular dependencies

This snapshot records 51 dependency cycles.

Nearby proofs

Snapshot notes

In bookstackapp bookstack, a change that begins in app Model.php keeps traveling until it reaches Permissions Permission.php, with Models Loggable.php as the third file on that walk and the Models-User.php group as the group around them, snapshot mark adbcbaecda.

Facades Theme.php is worth opening beside app Model.php because Theming ThemeEvents.php still participates when Facades Theme.php moves, and Exceptions ImageUploadException.php stays in view for bookstackapp bookstack, snapshot mark adbcbaecda.

Review Exceptions NotFoundException.php only after Permissions Permission.php and Models BookChild.php are both on the table, since the link from Models User.php back to Models Loggable.php belongs to bookstackapp bookstack under snapshot mark adbcbaecda.

Models Page.php and Models Entity.php are later stops, and a reviewer who has already seen app Model.php should still look at Permissions Permission.php before treating the Models-User.php group as understood for bookstackapp bookstack, snapshot mark adbcbaecda.

Permissions Permission.php closes the file list after Models Loggable.php and app Model.php, which keeps the bookstackapp bookstack note tied to snapshot mark adbcbaecda, and the files named in this paragraph are the ones the review is willing to stand on.

Subsystem overview

  • Models-User.php (397 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 bookstackapp bookstack: app Model.php?
Start with app Model.php, because the rest of the bookstackapp bookstack walk leaves from that file and Permissions Permission.php is the next file in the same review. Commit adbcbaecda records it.
What else is on the bookstackapp bookstack walk besides app Model.php and Models Loggable.php?
Models Loggable.php and Facades Theme.php stay on the walk with Theming ThemeEvents.php, which are different files from app Model.php inside the Models-User.php group for bookstackapp bookstack. Commit adbcbaecda records it.
How should a reviewer use Exceptions ImageUploadException.php in the bookstackapp bookstack snapshot?
Keep Exceptions ImageUploadException.php, Exceptions NotFoundException.php, and Models BookChild.php open together, then check Models User.php before merging the bookstackapp bookstack change. Commit adbcbaecda records it.
Where does the bookstackapp bookstack review stop after Models Page.php?
Stop after Models Page.php, Models Entity.php, and app Model.php have been compared with Permissions Permission.php, leaving the Models-User.php group until those bookstackapp bookstack files are clear. Commit adbcbaecda 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/bookstack/" width="320" height="180" frameborder="0"></iframe>

Explore

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