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
Amcharts Bundle

Amcharts Bundle Laravel Package

kalamurda/amcharts-bundle

Symfony bundle for integrating amCharts JavaScript charts into your application. It provides configuration and rendering helpers to add interactive charts with less boilerplate, making it easier to wire amCharts assets and chart definitions into Symfony projects.

View on GitHub
Deep Wiki
Context7

library

Frequently asked questions about Amcharts Bundle
Can I install kalamurda/amcharts-bundle in a Laravel application?
It is a Symfony bundle, not a Laravel package, so composer require will either fail or pull in symfony/framework-bundle and symfony/twig-bundle, which is usually a hard no. There is no service provider, facade, or publishable config anywhere in its history. The practical route is to copy the chart-config classes into app/Support/Charts and render them from a Blade component.
Does kalamurda/amcharts-bundle support Laravel 10 or Laravel 11?
No. The package has no laravel/framework constraint and exposes only Symfony Bundle, DI extension, and Twig extension classes. Its last release was 2021-10-01, well before Laravel 10 and 11, and it was never tested against them. Treat any Laravel version compatibility claim as unsupported.
What is kalamurda/amcharts-bundle actually for?
It is a thin Symfony integration for the amCharts JavaScript charting library. It bundles amCharts assets, provides a PHP object model for chart configuration that serializes to JSON, and adds a Twig function that emits the chart container plus the JS initializer. All rendering happens client-side in amCharts; the bundle only saves roughly 50 to 150 lines of boilerplate per chart type.
How do I install and configure amcharts-bundle in Symfony?
Install it with composer require kalamurda/amcharts-bundle and register the bundle in config/bundles.php. Configuration is handled through the bundle's DI extension tree, and charts are rendered from Twig using the provided extension function. Because the last release is from 2021, pin the version and verify it against your Symfony and PHP versions before adopting.
Will kalamurda/amcharts-bundle work on PHP 8.2 or 8.3?
Expect problems. The code is PHP 7.x-era with Symfony 3, 4, and 5 constraints, so anticipate deprecations, dynamic-property warnings, and untyped signatures on PHP 8.2 and 8.3. If a Symfony service still uses it, pin it and verify rather than floating the version.
Is kalamurda/amcharts-bundle still maintained?
No active maintenance is evident. The last release was 2021-10-01, the repository has around 4 stars and 0 dependents, and it is a single-maintainer project. Under most supply-chain policies that requires an exception record or a decision to fork and own the code.
How do I use amCharts in a Laravel Blade template instead?
Port only the chart-configuration object model into app/Support/Charts, then replace the Twig call with a Blade component or an @amcharts directive that outputs the container and initializer JSON. Drop the DI extension, configuration tree, and bundle plumbing entirely, since none of it is Laravel-specific. This is roughly a one-to-two-sprint job for a competent PHP developer, not an integration task.
Is amCharts free for commercial use with this bundle?
The MIT license covers only the PHP bundle, not the amCharts JavaScript library. amCharts itself is free-with-attribution or paid commercial, and this bundle does not convey any rights to the JS library. Confirm your licensing tier and who signs off on attribution versus commercial before any engineering spend.
Is kalamurda/amcharts-bundle safe from XSS?
There is a real surface here. Server-side config generation typically emits inline JavaScript, so chart titles, labels, tooltips, and series names sourced from user data must be escaped. If chart configuration is data-driven or user-editable, treat output escaping as a design requirement rather than a detail.
What are the best alternatives to amcharts-bundle for Laravel dashboards?
If your charts are static dashboards, Chart.js or ApexCharts have a much smaller total footprint and are easy to wire into Blade with a small wrapper. If you need interactive, real-time, or exportable charts and want amCharts, use the amCharts JS library directly and skip the PHP wrapper. Either way, a Laravel-native wrapper or your own Blade component will fit better than a Symfony bundle.
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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console