stinger/visjs-bundle
stinger/visjs-bundle integrates the vis.js visualization library into PHP applications, bundling its assets and providing helpers to render interactive networks, timelines, and graphs. It handles asset loading and configuration so developers can embed dynamic, data-driven visualizations without writ...
ServiceProvider/Bundle equivalence). Any decision record written for a Laravel codebase should treat this as prior art and reference implementation only, not a dependency candidate.Consider only if all of the following hold:
Look elsewhere — effectively always, in practice — when:
vis-network / vis-timeline (or vis-timeline's actively maintained community forks) through npm/Vite and pass graph data from a controller or API endpoint. The integration layer is on the order of tens of lines; there is nothing to buy.Bottom line: treat this as a catalogued artifact of a solved problem, not a dependency.
To executives: There is genuine product value in graph and timeline visualization — it makes relationship-heavy data (permissions, dependencies, org structure, roadmaps) legible to users and reduces support load. However, the specific package in front of us is a ten-year-old wrapper with zero adoption that we would have to own and patch ourselves, and it does not even load in our stack. Recommendation: do not add it to the technology estate. Fund a short, time-boxed spike (1–2 days) against the current, maintained JavaScript libraries, and return a build-vs-buy recommendation before committing roadmap capacity.
To engineering: The package's contribution is asset registration and container wiring around vis.js — a trivial and fully replaceable layer. Do not port it. Instead, spike vis-network and vis-timeline via npm/Vite, alongside one alternative (Cytoscape.js for graph scale, Nivo/Recharts for charting). Focus the estimate on the parts that actually carry risk: shaping entity/edge payloads from our domain model, layout computation for large graphs, caching, and permissions on who may see which graph. Success criteria for the spike: a working prototype rendering real data from our database, a documented payload contract, and a maintenance assessment of the chosen library (release cadence, open CVEs, bundle size).
Shared framing for both: the decision to be made is "do we invest in a visualization layer, and on what foundation" — not "do we adopt this bundle." The answer to the second question is already no.
How can I help you explore Laravel packages today?