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

Charts Laravel Package

grafite/charts

Grafite Charts is a Laravel package for building interactive charts with minimal setup. It wraps Chart.js-style visualizations into simple PHP/Blade helpers, letting you render line, bar, pie, and other charts directly from your application data.

View on GitHub
Deep Wiki
Context7

A handy package for injecting ChartJS charts in Laravel apps

Frequently asked questions about Charts
How do I install grafite/charts in Laravel?
Install it with Composer using composer require grafite/charts, then confirm that Laravel package auto-discovery registers the service provider. Check the README for any config or asset publishing steps, because front-end assets may need to be published or loaded separately. Render a small Blade view in a test route before rolling it out.
Which Laravel and PHP versions does Grafite Charts support?
The available context does not show a clear supported Laravel and PHP matrix, and the package has very low adoption. Treat its Composer constraints as unverified until you test them against your target Laravel and PHP versions. Pin the exact package version and run the compatibility check in CI before committing.
What license does grafite/charts use?
The repository is marked NOASSERTION, which means the license is not clearly identified by automated metadata. That is a potential legal blocker for commercial or redistributed use until it is clarified. Ask legal to review the repository license files and obtain written clarification before adoption.
Is Grafite Charts suitable for production dashboards?
It can suit low-risk internal Blade dashboards or prototypes, but the technical assessment rates risk as high because of low adoption and license ambiguity. For a core reporting surface, audit the source, pin versions, and wrap usage behind an internal adapter. If you need long-term support, prefer a maintained charting library.
Does Grafite Charts work with Livewire, Inertia, Vue, or React?
It is designed as a thin Laravel wrapper for server-defined chart configuration rendered in Blade. It is a poor fit for API-first, Inertia/React/Vue, or Livewire-heavy stacks where the frontend already owns charting. In those architectures, use the JavaScript chart library directly.
Can I build Grafite Charts from Eloquent or database data?
Yes, the package's stated value is letting you prepare chart configuration in PHP and render it in Blade from application data. It does not appear to be a BI or analytics engine, so aggregation, caching, and access control remain your responsibility. Keep data shaping in your application layer rather than scattering package-specific logic across views.
Does Grafite Charts support CSP, accessibility, exports, and responsive layouts?
These capabilities are not established by the provided context and must be verified in a spike. Check whether assets are published or CDN-loaded, whether inline scripts violate your CSP, and how the underlying chart library handles accessibility and exports. If those requirements are strict, direct use of a maintained charting library may be safer.
How is Grafite Charts maintained, and what happens if it is abandoned?
Adoption is negligible, with only 4 stars and 0 dependents, so assume little community support and possible self-maintenance. Budget ownership for upgrades, asset compatibility, and security patches, and consider vendoring or forking if adopted. Encapsulate it behind an adapter so you can replace it without rewriting views.
What are good alternatives to Grafite Charts?
The safest alternatives are maintained JavaScript charting libraries such as Chart.js or ApexCharts used directly in your frontend. You can also evaluate actively maintained Laravel chart packages if you want Blade helpers, but verify release cadence, license, and Laravel support. Compare them in a spike against your CSP, accessibility, and dashboard requirements.
How should I test Grafite Charts before adopting it?
Run a time-boxed proof of concept in an isolated branch: install via Composer, publish assets if required, and render one non-critical internal chart. Test CSP behavior, asset publishing, production builds, responsive rendering, and compatibility with your Laravel and PHP versions. Also inspect the source, run license and security scans in CI, and compare the result with direct chart-library integration.
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.
vento/laravel-airbrake
wfeller/laravel-batch
maco-studios/mage-os-installer
busarm/armie
siberfx/laravel-logger
kfteam1991/dcat-admin
dashed/dashed-laposta
dashed/dashed-ecommerce-montaportal
dashed/dashed-ecommerce-etsy
neohq/string-blade-compiler
log1x/acf-composer
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager