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

Chartjs Bundle Laravel Package

fados/chartjs-bundle

fados/chartjs-bundle is a PHP package that streamlines adding Chart.js charts to your application, offering a straightforward way to configure datasets and render interactive visualizations for dashboards and reports.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Scoping correction first: despite the Laravel/PHP framing, this is a Symfony 2 bundle (fados/chartjs-bundle), not a Laravel package. Any decision it informs must be scoped to a legacy Symfony 2.x codebase. In a Laravel context it supports exactly one decision: do not adopt.
  • Charting/reporting feature feasibility: it represents the "server-side chart config" pattern — PHP builds the dataset/options array, the bundle emits the Chart.js init call in Twig. Useful as a reference design if you're deciding whether to render charts from the backend or push that to a JS/frontend layer.
  • Build vs. buy (the real call): the package is a thin wrapper over Chart.js (~a few hundred lines of glue), last released 2017-08-11, 2 stars, 0 dependents, and scored 0.16 on maintenance/quality. The buy side is effectively closed — the cost of vendor review, security triage, and eventual fork maintenance exceeds the cost of writing the 50–150 lines of glue yourself in a maintained app.
  • Roadmap de-risking: if this appears in a dependency audit of an inherited Symfony 2 app, it signals an EOL stack (Symfony 2 reached end of life in November 2018). That should trigger a platform-modernization epic, not a charting-library decision.
  • Use cases it nominally serves: admin dashboards, KPI widgets, internal reporting, quick "chart on a settings page" requests — all of which are better served by a maintained charting approach (Chart.js directly, ApexCharts, or a live Laravel/Symfony wrapper).

When to Consider This Package

  • Only viable condition: you are actively maintaining a Symfony 2.x application on PHP 5.5–7.x, the charting need is internal/non-critical, and the alternative is a custom bundle you'd have to write and maintain anyway.
  • Additional gates: the license and dependency tree (Symfony 2 framework components, Twig 1.x, Chart.js version) pass a security review; you accept that you will own this code indefinitely with no upstream support.
  • Look elsewhere when:
    • The stack is Laravel — use Chart.js directly with a Blade partial, or a maintained package; this bundle will not install cleanly.
    • The stack is Symfony 4/5/6/7 — use Symfony UX Chart.js (the official, actively maintained successor) or a plain Chart.js integration.
    • Charts are customer-facing, require accessibility, SSR, or real-time updates — a 2017 wrapper will not meet modern requirements.
    • You have any dependency-vetting or SBOM policy — 0 dependents and 8+ years of no releases fail most supply-chain thresholds.
  • Disqualifiers: no tests, no security policy, no CI, single-maintainer abandonment pattern. Treat as "read the source, then reimplement."

How to Pitch It (Stakeholders)

For executives: This is an abandoned 2017 Symfony 2 add-on for drawing charts. It has negligible adoption (2 stars, zero downstream users) and has not been updated in over seven years, long past its framework's end of life. Adopting it would create a permanent maintenance liability for a feature that costs a few days to build properly. Recommendation: decline; budget a small in-house charting component instead.

For engineering: Treat it as a design reference, not a dependency. The pattern — build the dataset server-side, render via a view helper — is sound and portable; the implementation is stale. In Laravel, ship a Blade component plus a pinned Chart.js version. In modern Symfony, use Symfony UX Chart.js. Either route gives you a supported, patched, test-covered path for roughly the same effort as vetting and forking this bundle.

For the roadmap: The presence of this package in a codebase is a signal about the surrounding platform, not the charting choice. Route it into the modernization backlog and keep visualization work on supported tooling.

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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo