Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel View Xray Laravel Package

beyondcode/laravel-view-xray

BeyondCode's Laravel View Xray lets you inspect Blade views directly in the browser. See which view file is rendered and what data it receives, making it easy to debug view composers, includes, and data issues in Laravel applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature-to-template mapping during discovery: When a PM needs to know which Blade view, partial, or component owns a product surface before scoping a change, View Xray turns “where does this come from?” into a hover-and-click check. It shortens the loop between a UI change request and the file/owner behind it.
  • Defect triage and QA cycle time: Visual inconsistencies, inherited layouts, and unexpected partial rendering often create vague bug reports. Giving engineers a fast way to locate the responsible template can reduce reproduction and routing time, which feeds directly into cycle-time and quality metrics.
  • Onboarding and legacy knowledge capture: Useful during platform audits, ownership transfers, or migrations where the view layer is poorly documented. It can accelerate creation of a view inventory and dependency map — an artifact PMs can use for risk assessment and sequencing.
  • Build vs. buy for internal tooling: A small trade-off between a free, zero-config utility and custom middleware or a broader observability investment. The absolute cost is low, but the decision is real because the package is archived and unmaintained.
  • Deprecation and modernization planning: Archived status, October 2020 last release, zero dependents, and a low opportunity score all point to “reference only, do not standardize.” This informs roadmap hygiene: do not let an unmaintained dev dependency accrete into platform infrastructure.
  • Not a signal for product investment: Star count reflects historical awareness, not current viability. Nothing here should influence customer-facing roadmap priorities; it is a developer-productivity line item at most.

When to Consider This Package

  • Consider it for a short, time-boxed, local-only diagnostic on a conventional server-rendered Laravel app with a heavy Blade view tree, where the team needs to answer “which template produced this markup?” and can accept an unmaintained tool.
  • Consider it as a lightweight audit aid during a migration, refactor, or onboarding push — scoped to require-dev, pinned in composer.lock, gated to APP_ENV=local, and assigned a named owner.
  • Consider it when the cost of a failed experiment is near zero — one developer, one branch, one afternoon — and the alternative is building custom Blade instrumentation.
  • Look elsewhere for anything long-lived, shared, or production-adjacent. Laravel Debugbar, Telescope, Clockwork, Ray, or a small internal View::composer logger are stronger candidates for maintained workflows.
  • Look elsewhere if the application is API-only, SPA-first (Inertia/JS-driven), Livewire- or HTMX-heavy with partial DOM swaps, or running on Laravel 9+ without willingness to fork. Compatibility drift on a 2020 package is the default outcome, not the edge case.
  • Avoid it in security-sensitive environments, shared staging, or anywhere absolute filesystem paths and editor-open endpoints could be exposed. Also avoid it if the team will not accept ownership of a fork when it breaks.
  • Decision rule: adopt only if (a) the need is frequent enough to justify a tool, (b) the target Laravel/PHP matrix is verified in a spike, and (c) there is a documented exit plan. Otherwise reject and standardize on a maintained debugger.

How to Pitch It (Stakeholders)

For executives: This is a free, low-effort developer diagnostic that can shorten investigation time on Laravel view-related bugs and speed up understanding of legacy UI structure. It is not a strategic dependency. The package is archived, last released in October 2020, has no dependents, and carries no vendor support — so any breakage becomes our cost. Recommendation: approve as a local evaluation or audit aid with a defined time box, not as a production or platform commitment. Success looks like reduced triage time on view-related defects and a documented view map; failure looks like a compatibility dead end, in which case we remove it and move to a maintained alternative.

For engineering: Install with --dev, verify against the target Laravel/PHP matrix on a branch, gate strictly to local via the environment flag, and keep it out of shared dependencies. Use it to trace include/component ownership, confirm view boundaries before and after refactors, and document legacy Blade composition. Pair it with Debugbar or Clockwork for queries and performance — Xray answers “where did this HTML come from?” and nothing else. Be aware of the known limits: response injection fails on streamed, JSON, CSP-restricted, or post-processed responses; line numbers can drift against compiled views; and it does not follow partial DOM swaps in Livewire/HTMX/Inertia flows. If it proves valuable but incompatible, fork it, narrow the supported range, and own the maintenance — otherwise remove it and use a view-composer logger as the fallback. Attach a review or removal trigger tied to the next Laravel major so a short spike does not become an unowned dependency through inertia.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager