- Is gremo/highcharts-bundle compatible with Laravel?
- No. It is a Symfony2 bundle built around the Bundle contract, a DependencyInjection extension, and Twig helpers, none of which Laravel can autoload or register. There is no service provider, facade, or config publishing, and roughly 80 percent of the code is Symfony glue. Composer will fail dependency resolution in a Laravel 10 or 11 project before you ever reach runtime.
- Is GremoHighchartsBundle still maintained?
- No. The repository is archived and the last release dates to October 2013, so there are no security fixes, no PHP 8 compatibility work, and no CVE response path. It has around 19 stars and zero dependents, which means no third party has validated it against a modern runtime or left an issue history to mine. Treat it as a historical reference implementation, not a dependency.
- Does GremoHighchartsBundle support PHP 8 and modern Symfony versions?
- No. Its Composer constraints target the Symfony 2.3 era, roughly symfony/symfony ~2.x with php >=5.3.3. The code predates scalar type hints, return types, and modern syntax, so expect array() calls and untyped methods throughout. Those constraints hard-conflict with Laravel's php ^8.1|^8.2 and symfony/* ^6|^7 requirements.
- Does GremoHighchartsBundle provide a Laravel service provider, Blade directive, or facade?
- None of those exist. The package ships Symfony-specific registration hooks such as the Bundle class, a DI extension, services.yml, and Twig helpers, and Laravel has no counterpart for any of them. You cannot register a Symfony bundle from bootstrap/app.php or a ServiceProvider, so anything you wanted to reuse would have to be re-wrapped by hand.
- What should Laravel developers use instead of GremoHighchartsBundle for Highcharts charts?
- Usually no PHP package at all. Build a Highcharts options array in PHP, encode it with json_encode or Js::from(), and hand it to the browser — that is exactly what the bundle does, minus the Symfony plumbing. If you want structure, write a small fluent builder class or an internal package with a ServiceProvider and a published config for defaults like theme, colors, and chart type, plus a Blade component for the container div.
- How much work is it to rebuild GremoHighchartsBundle's fluent options builder in Laravel?
- Roughly three to five developer-days including tests, because the genuinely reusable part is small. The fluent builder that composes Highcharts options into a serializable array is only a few hundred lines; everything else is Symfony glue you should discard. Read the builder classes, extract the options-to-array composition pattern, and rebuild it PHP 8-native with a ServiceProvider, a config file, and feature tests that assert the emitted JSON.
- Is GremoHighchartsBundle safe for production, particularly when escaping chart data?
- It stacks several independent risks: archived since 2013, unmaintained, never audited for PHP 8, zero dependents, and no Stack Overflow corpus to fall back on. The practical concern is escaping — a server-side chart builder emits JavaScript config into a template, and the 2013 output path almost certainly does not escape for JS context, so user-controlled series names, axis labels, or tooltips become a real XSS surface. If you emit chart config, serialize with json_encode using the correct flags or Js::from() instead of string concatenation, and never inline raw user data.
- Does GremoHighchartsBundle work with Highcharts 10 or 11?
- Unlikely without rework. The builder was written in 2013 and predates a decade of options API drift, including changes to series.data handling, plotOptions restructuring, and the module system. Nothing in the package is versioned against a specific Highcharts release, so there is no guarantee the options it emits are still valid today. Test any emitted config against the Highcharts version you actually deploy.
- Can GremoHighchartsBundle render charts to images or PDF on the server?
- No. It only produces the config object that a browser renders with the Highcharts library; there is no server-side rasterization. If you need PNG or PDF output, that is a separate operational concern, typically the Highcharts Export Server, which the bundle does not address. Decide up front whether your requirement is server-rendered images or a browser-rendered config, because only the latter is in scope here.
- Do I need a commercial Highcharts license to use GremoHighchartsBundle?
- The bundle adds nothing to licensing: Highcharts itself is dual-licensed, free for non-commercial use and requiring a paid commercial license otherwise. That is the single largest cost and legal risk in any charting decision and must be resolved independently of the package choice. Confirm whether your project is commercial before investing in any Highcharts integration, regardless of whether you write the PHP yourself.