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

Filament Dependency Graph Laravel Package

laboiteacode/filament-dependency-graph

Visual architecture explorer for Filament that automatically discovers Eloquent models, relations, Livewire components, resources and panels with no configuration, then presents them in an interactive graph, tree, table and inspector with search, filtering and exports.

View on GitHub
Deep Wiki
Context7
v1.2.0

Highlights

Version 1.2.0 turns the dependency graph into a map of the whole application. Two new scopes join Filament and Laravel:

  • HTTP: routes, controller actions, form requests, models, policies, events and listeners, and the jobs, mailables and notifications dispatched along the way.
  • Views: Blade templates, components and Livewire components, what renders them and where they are used.

Everything is still discovered statically. Controllers, form requests, policies, components, Livewire classes and mailables are never instantiated, and templates are never compiled or rendered.

Added

  • HTTP scope built from the router (route cache included), the event dispatcher and the gate, with middleware resolved like the router does and a middleware filter in the explorer, GraphQuery::$middleware and --middleware on the export command.
  • Static detection of dispatches and model references in controller actions, listeners and jobs, one level deep into injected application classes, with file:line locations.
  • Opt-in reading of form request rules (http.form_request_rules).
  • Views scope reading [@extends](https://github.com/extends), the [@include](https://github.com/include) family, [@each](https://github.com/each), [@component](https://github.com/component), [@livewire](https://github.com/livewire), <x-…> and <livewire:…> with their line, resolved by the view finder, Blade's component tag compiler and Livewire's registry.
  • View owners: Livewire components (render(), ->layout(), #[Layout], conventional views and layouts), Blade class components, Filament classes with a custom $view, mailables and notifications, Route::view() and Route::livewire() routes, controller actions. Livewire 4 single-file and multi-file components are supported.
  • Package views as leaves, missing views, dynamic references, inferred view kinds and No reference found / No dispatcher found badges.
  • Inspectors, tree views, table datasets and graph styles for every new node type, a one-hop bridge from routes to the views they render, search by file path.
  • http and views configuration blocks, allowHttpScope() and allowViewsScope() plugin methods, --scope=http|views on the CLI.

Changed

  • The Filament and Laravel scopes are unchanged, and are now built without the HTTP and view maps. The cached snapshot is read once per request, and the renderer only receives the fields it draws.
  • Mermaid edge labels containing directives or component tags are quoted.
  • The snapshot schema is now 1.4, and cached snapshots are rebuilt automatically.

Compatibility

  • PHP 8.3, 8.4 and 8.5
  • Laravel 12 and 13
  • Filament 4 and 5
  • Livewire 3 and 4

Upgrade

composer require laboiteacode/filament-dependency-graph:^1.2
php artisan filament:assets

Full Changelog: https://github.com/La-boite-a-code/Filament-Dependency-Graph/compare/v1.1.2...v1.2.0

v1.1.1

What's Changed

New Contributors

Full Changelog: https://github.com/La-boite-a-code/Filament-Dependency-Graph/compare/v1.1.0...v1.1.1

v1.1.0

Highlights

Version 1.1.0 expands the dependency graph beyond Filament panels, improves graph readability and standardizes the inspector and inventory on native Filament components.

Added

  • Discover application Livewire components outside Filament panels in the Laravel scope, including conventional aliases, rendered views, public APIs and model dependencies inferred without component instantiation.
  • Add Livewire component nodes, component-to-model edges, search/filter support, a dedicated inspector and a fourth table view.
  • Add configurable Livewire paths and namespaces, with fluent plugin registration methods.

Changed

  • Give the graph more usable space with an adaptive-height canvas, a native Filament slide-over inspector and an expandable canvas mode.
  • Align the workspace, explorer and graph controls with the cover design while continuing to derive every color from Filament theme variables.
  • Replace the handcrafted inventory tables with a native searchable, sortable and paginated Filament Table organized by category.
  • Add explicit zoom controls and improve node, edge and selection contrast.
  • Bump the deterministic serialization schema to 1.1 for Livewire component snapshot data.

Fixed

  • Use Filament's native copyable text behavior for inspector values, including its tooltip and confirmation feedback.

Security

  • Update esbuild to a release that fixes GHSA-67mh-4wv8-2f99.
  • Pin every GitHub Action to an immutable commit, restrict workflow token permissions and configure Dependabot for Composer, npm and GitHub Actions with a seven-day update cooldown.

Compatibility

  • PHP 8.3, 8.4 and 8.5
  • Laravel 12 and 13
  • Filament 4 and 5

Upgrade

composer require laboiteacode/filament-dependency-graph:^1.1
php artisan filament:assets

Cached snapshots from version 1.0 are invalidated automatically by schema version 1.1.

Full changelog: https://github.com/La-boite-a-code/Filament-Dependency-Graph/compare/v1.0.0...v1.1.0

v1.0.0

First stable release. The visual architecture explorer for Filament: models, resources, panels and every Eloquent relationship on one interactive map, with a tree view, a table view, a contextual inspector, search, focus mode, filters and deterministic exports.

Added

  • Automatic discovery of Eloquent models, relations, Filament panels, resources, pages and relation managers.
  • Support for all Eloquent relation types, including polymorphic relations and morph maps.
  • Deterministic graph domain model with focus traversal, cycle detection, orphan detection and shortest path search.
  • Filament page with interactive graph view, tree view, table view, contextual inspector, search and focus mode.
  • Readable graph rendering: Cytoscape.js with a layered dagre layout for the hierarchical mode and fCoSE for the force-directed mode, relation labels that only render at readable zoom levels, selection that fades everything outside its neighbourhood, and reliable sizing when the component mounts inside a hidden or unmeasured container.
  • Native Filament UI: sections, tabs, buttons, selects, checkboxes and badges, with a graph palette and CSS tokens that follow the panel theme color scales in light and dark mode.
  • Filament scope and Laravel scope with panel, node type, relation type, namespace, ownership and orphan filters.
  • Navigation and page customization, fluently on the plugin or via configuration: navigationLabel(), navigationIcon(), activeNavigationIcon(), navigationGroup(), navigationSort(), navigationParentItem(), navigationBadge(), registerNavigation(), slug(), cluster(), maxContentWidth() and canAccessUsing().
  • Full-width page by default, configurable through page.max_content_width or maxContentWidth().
  • JSON and Mermaid exporters with a stable schema, available from the UI and the CLI, plus custom exporter and inspector registration.
  • Snapshot cache with filament-dependency-graph:cache and filament-dependency-graph:clear commands.
  • filament-dependency-graph:export command.
  • Programmatic API through the DependencyGraph facade and the DependencyGraphManager contract.
  • Compatibility adapters for Filament 4.x and 5.x.
  • Local-only visibility by default with a configurable visibility callback.
  • English and French translations.

Compatibility: PHP 8.3 / 8.4, Laravel 12 / 13, Filament 4 / 5.

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.
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route