A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
This report summarizes scanner evidence for livewire/livewire, a PHP project with 23,585 GitHub stars. SynthScan examined 137,301 lines of code across 1052 source files, recording 395 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 3.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 376 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 356 finding(s).
Which changes need focused human review? 395 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 395 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | legacy_tests/Unit/TestCase.php | 67 | protected function resolveApplicationHttpKernel($app) | CODE |
| LOW | legacy_tests/Browser/TestCase.php | 42 | function registerComponentForNextTest($components) | CODE |
| LOW | legacy_tests/Browser/TestCase.php | 49 | function wipeRuntimeComponentRegistration() | CODE |
| LOW | legacy_tests/Browser/TestCase.php | 216 | protected function resolveApplicationHttpKernel($app) | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 237 | public function downloadWithContentTypeHeader($contentType = null) | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 247 | public function downloadAnUntitledFileWithContentTypeHeader($contentType = 'text/html') | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 269 | public function downloadFromResponseWithContentTypeHeader() | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 283 | public function downloadQuotedContentDispositionFilename() | CODE |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 293 | public function downloadQuotedContentDispositionFilenameFromResponse() | CODE |
| LOW | js/debounce.js | 41 | export function callAndClearComponentDebounces(component, callback) { | CODE |
| LOW | js/evaluator.js | 51 | export function isEvaluatingReactiveExpression() { | CODE |
| LOW | js/evaluator.js | 55 | export function evaluateReactiveExpression(el, expression, options = {}) { | CODE |
| LOW | js/fragment.js | 128 | export function findMatchingEndMarkerNode(startMarkerNode, metadata) { | CODE |
| LOW | js/fragment.js | 146 | export function extractInnerHtmlFromFragmentHtml(fragmentHtml) { | CODE |
| LOW | js/fragment.js | 158 | export function extractFragmentMetadataFromHtml(fragmentHtml) { | CODE |
| LOW | js/fragment.js | 170 | export function extractFragmentMetadataFromMarkerNode(startMarkerNode) { | CODE |
| LOW | js/directives.js | 5 | export function matchesForLivewireDirective(attributeName) { | CODE |
| LOW | js/directives.js | 47 | export function customDirectiveHasBeenRegistered(name) { | CODE |
| LOW | js/lifecycle.js | 132 | function ensureLivewireScriptIsntMisplaced() { | CODE |
| LOW | js/directives/wire-transition.js | 79 | export function skipTransitionWhenTopLayerOpens(transition) { | CODE |
| LOW⚡ | js/directives/wire-poll.js | 100 | function theDirectiveIsOffTheElement(el) { | CODE |
| LOW⚡ | js/directives/wire-poll.js | 104 | function theDirectiveIsMissingKeepAlive(directive) { | CODE |
| LOW⚡ | js/directives/wire-poll.js | 112 | function theElementIsNotInTheViewport(el) { | CODE |
| LOW | js/directives/wire-model.js | 190 | function componentIsMissingProperty(component, property) { | CODE |
| LOW | js/directives/shared.js | 2 | export function toggleBooleanStateDirective(el, directive, isTruthy, cachedDisplay = null) { | CODE |
| LOW | js/directives/wire-loading.js | 109 | function whenTargetsArePartOfRequest(component, el, targets, inverted, [ startLoading, endLoading ]) { | CODE |
| LOW | js/directives/wire-loading.js | 183 | function whenTargetsArePartOfFileUpload(component, targets, [ startLoading, endLoading ]) { | CODE |
| LOW | js/plugins/navigate/transition.js | 61 | function setNavigateTransitionNames(root) { | CODE |
| LOW | js/plugins/navigate/scroll.js | 2 | export function storeScrollInformationInHtmlBeforeNavigatingAway() { | CODE |
| LOW | js/plugins/navigate/scroll.js | 15 | export function restoreScrollPositionOrScrollToTop({ scrollToFragment = false, snapshotHtml = null } = {}) { | CODE |
| LOW | js/plugins/navigate/persist.js | 5 | export function storePersistantElementsForLater(callback) { | CODE |
| LOW | js/plugins/navigate/persist.js | 19 | export function putPersistantElementsBack(callback) { | CODE |
| LOW | js/plugins/navigate/page.js | 11 | export function swapCurrentPageWithNewHtml(html, andThen) { | CODE |
| LOW | js/plugins/navigate/page.js | 44 | function prepNewBodyScriptTagsToRun(newBody, oldBodyScriptTagHashes) { | CODE |
| LOW | js/plugins/navigate/page.js | 163 | async function injectScriptTagAndWaitForItToFullyLoad(script) { | CODE |
| LOW | js/plugins/navigate/page.js | 182 | function ifTheQueryStringChangedSinceLastRequest(el, currentHeadChildren) { | CODE |
| LOW | js/plugins/navigate/links.js | 63 | export function whenThisLinkIsHoveredOrFocusedFor(el, ms = 60, callback) { | CODE |
| LOW | js/plugins/navigate/links.js | 80 | export function extractDestinationFromLink(linkEl) { | CODE |
| LOW | js/plugins/navigate/links.js | 84 | export function createUrlObjectFromString(urlString) { | CODE |
| LOW | js/plugins/navigate/links.js | 103 | export function linkShouldBeHandledNatively(linkEl, destination = extractDestinationFromLink(linkEl)) { | CODE |
| LOW | js/plugins/navigate/links.js | 116 | export function getUriStringFromUrlObject(urlObject) { | CODE |
| LOW | js/plugins/navigate/index.js | 294 | function fetchHtmlOrUsePrefetchedHtml(fromDestination, callback, errorCallback) { | CODE |
| LOW | js/plugins/navigate/index.js | 304 | function preventAlpineFromPickingUpDomChanges(Alpine, callback) { | CODE |
| LOW | js/plugins/navigate/index.js | 316 | function fireEventForOtherLibrariesToHookInto(name, detail) { | CODE |
| LOW⚡ | js/plugins/navigate/index.js | 328 | function nowInitializeAlpineOnTheNewPage(Alpine) { | CODE |
| LOW⚡ | js/plugins/navigate/index.js | 334 | function autofocusElementsWithTheAutofocusAttribute() { | CODE |
| LOW⚡ | js/plugins/navigate/index.js | 338 | function cleanupAlpineElementsOnThePageThatArentInsideAPersistedElement() { | CODE |
| LOW | js/plugins/navigate/teleport.js | 11 | export function removeAnyLeftOverStaleTeleportTargets(body) { | CODE |
| LOW⚡ | js/plugins/navigate/history.js | 68 | export function updateCurrentPageHtmlInHistoryStateForLaterBackButtonClicks() { | CODE |
| LOW⚡ | js/plugins/navigate/history.js | 77 | export function updateCurrentPageHtmlInSnapshotCacheForLaterBackButtonClicks(key, url) { | CODE |
| LOW⚡ | js/plugins/navigate/history.js | 83 | export function whenTheBackOrForwardButtonIsClicked( | CODE |
| LOW | js/plugins/navigate/history.js | 139 | export function updateUrlAndStoreLatestHtmlForFutureBackButtons( | CODE |
| LOW | js/plugins/navigate/prefetch.js | 34 | export function storeThePrefetchedHtmlForWhenALinkIsClicked(html, destination, finalDestination) { | CODE |
| LOW | js/plugins/navigate/bar.js | 32 | export function removeAnyLeftOverStaleProgressBars() { | CODE |
| LOW | js/features/supportQueryString.js | 85 | function normalizeQueryStringEntry(key, value) { | CODE |
| LOW | js/features/supportNavigate.js | 19 | export function shouldRedirectUsingNavigateOr(effects, url, or) { | CODE |
| LOW | js/features/supportScriptsAndAssets.js | 66 | function onlyIfScriptHasntBeenRunAlreadyForThisComponent(component, key, callback) { | CODE |
| LOW | js/features/supportScriptsAndAssets.js | 92 | async function onlyIfAssetsHaventBeenLoadedAlreadyOnThisPage(key, callback) { | CODE |
| LOW | js/request/index.js | 74 | export function interceptComponentMessage(component, actionNameOrCallback, maybeCallback) { | CODE |
| LOW | js/request/index.js | 89 | export function interceptComponentRequest(component, actionNameOrCallback, maybeCallback) { | CODE |
| 285 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/worktree.sh | 4 | # ── Resolve the repo root from this script's location ──────────────────────── | COMMENT |
| MEDIUM | scripts/worktree.sh | 7 | # ── Usage ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/worktree.sh | 26 | # ── Check if it already exists ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/worktree.sh | 34 | # ── Fetch & create ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/worktree.sh | 41 | # ── Install deps ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/worktree.sh | 57 | # ── Done ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/cleanup-worktree.sh | 4 | # ── Resolve the repo root from this script's location ──────────────────────── | COMMENT |
| MEDIUM | scripts/cleanup-worktree.sh | 7 | # ── Usage ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/cleanup-worktree.sh | 23 | # ── Validate ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/cleanup-worktree.sh | 29 | # ── Remove ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/cleanup-worktree.sh | 33 | # ── Prune any stale worktree references ────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/summarize-activity/SKILL.md | 15 | ## Step 1: Parse timeframe | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 33 | ## Step 2: Fetch activity in parallel | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 88 | ## Step 3: Fetch comment threads for active items | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 118 | ## Step 4: Filter by timeframe | COMMENT |
| LOW | .claude/skills/summarize-activity/SKILL.md | 125 | ## Step 5: Analyze and write report | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 15 | ## Step 1: Pick a PR | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 23 | ## Step 2: Check if already reviewed | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 33 | ## Step 3: Fetch PR data | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 44 | ## Step 4: Checkout locally and merge main | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 53 | ## Step 5: Read and classify | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 63 | ## Step 6: Challenge the contributor's framing | COMMENT |
| LOW⚡ | .claude/skills/review-pr/SKILL.md | 72 | ## Step 7: Evaluate | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 112 | ## Step 8: Run relevant tests only | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 145 | ## Step 9: Make fixes directly | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 166 | ## Step 10: Push to PR branch | COMMENT |
| LOW | .claude/skills/review-pr/SKILL.md | 199 | ## Step 11: Post verdict comment | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | close.bash | 21 | # for pid in ${vscode_renderer_pids}; do | COMMENT |
| LOW | legacy_tests/Browser/TestCase.php | 101 | // ->filter(function ($class) { | COMMENT |
| LOW | legacy_tests/Browser/TestCase.php | 121 | // \LegacyTests\Browser\SyncHistory\ComponentWithoutQueryString::class | COMMENT |
| LOW | legacy_tests/Browser/QueryString/Test.php | 161 | COMMENT | |
| LOW | legacy_tests/Browser/FileDownloads/Test.php | 101 | // succeed(({ effects }) => { | COMMENT |
| LOW | legacy_tests/Browser/DataBinding/InputSelect/Test.php | 81 | // ->assertSeeIn('@output', '3') | COMMENT |
| LOW | js/plugins/history/index.js | 81 | // The new strategy needs to be something like: | COMMENT |
| LOW | docs/javascript.md | 841 | // Scope the next action to a named island... | COMMENT |
| LOW | scripts/laravel.php | 61 | // Illuminate\Broadcasting\BroadcastServiceProvider::class, | COMMENT |
| LOW | src/Features/SupportCompiledWireKeys/BrowserTest.php | 501 | // https://github.com/livewire/livewire/discussions/8877 | COMMENT |
| LOW | src/Features/SupportReleaseTokens/UnitTest.php | 61 | ComponentWithReleaseToken::$releaseToken = 'bob'; | COMMENT |
| LOW | src/Features/SupportJsModules/BrowserTest.php | 61 | { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ….obsidian/plugins/obsidian-languagetool-plugin/main.js | 1 | "use strict";var e=require("obsidian"),t=require("path"),n=require("@codemirror/view"),r=require("@codemirror/state"),i= | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …y_tests/Browser/DataBinding/InputSelect/view.blade.php | 24 | <select wire:model.live="placeholder" dusk="placeholder.input"> | CODE |
| LOW | docs/wire-model.md | 225 | As you can see, there is no "placeholder" attribute for a select menu like there is for text inputs. Instead, you have t | CODE |
| LOW | src/Features/SupportValidation/UnitTest.php | 1443 | public $emails = ['foo@bar.com', 'invalid-email']; | CODE |
| LOW | src/Features/SupportLazyLoading/BrowserTest.php | 393 | return view('placeholder', $params); | CODE |
| LOW | src/Features/SupportModels/BrowserTest.php | 104 | <span dusk="placeholder">{{ $placeholder }}</span> | CODE |
| LOW | src/Features/SupportCSP/BrowserTest.php | 162 | ->type('@name', 'John Doe') | CODE |
| LOW | src/Features/SupportCSP/BrowserTest.php | 373 | ->type('@name', 'John Doe') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/.obsidian/plugins/obsidian-dynamic-toc/main.js | 2 | `)}function J(i,e){let t=i.map(a=>a.level).reduce((a,d)=>Math.min(a,d)),n=i.filter(a=>a.level===t),s=e.delimiter?e.delim | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | js/directives/wire-loading.js | 230 | // If the property is nested, like `foo.bar`, we need to check if the root `foo` is the target. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/bump-alpine.js | 30 | console.log(`\nDone. Alpine updated to ^${latest}. Don't forget to commit package.json and package-lock.json.`) | CODE |