stinger-soft/aggrid-bundle
A Symfony bundle that integrates ag-Grid, offering Twig helpers, PHP data providers, and AJAX endpoints to build interactive, server-side powered data tables with minimal configuration.
Architecture fit. The package is a Symfony bundle, not a Laravel package. It wires into the Symfony service container and Twig layer to emit AG Grid configuration; Laravel uses service providers, facades, and Blade. There is no Illuminate\Support\ServiceProvider, no config publishing, no Blade directives. The underlying value — server-side construction of columnDefs/gridOptions JSON — is thin and can be reproduced in a few hundred lines. AG Grid itself is a client-side JavaScript library (Community MIT, Enterprise commercially licensed), so the bundle is an optional convenience, not the engine.
Integration feasibility. Three options: (1) install the bundle as a plain Composer dependency and instantiate classes manually — feasible only because the classes are likely simple DTOs/builders, but autoloading a Symfony bundle into Laravel gives you dead weight and no wiring; (2) fork/vendor the handful of useful classes into app/Support; (3) skip it and use AG Grid directly with Vite + a Laravel JSON endpoint. Option 3 is the correct default; option 2 is a fallback if the bundle encodes non-trivial column/form metadata logic worth salvaging.
Technical risk. High relative to value. Last release 2020-09-10, 2 stars, 0 dependents, no evident maintainer activity. That vintage implies PHP 7.x assumptions and Symfony 4/5 bundle conventions (Twig 2/3), and it almost certainly targets an AG Grid version several majors behind current (AG Grid has had breaking API changes across v25–v33). PHP 8.2/8.3 compatibility is unverified. Apache-2.0 is permissive and low-risk legally, but the dependency will be flagged by SCA tooling as abandoned, and any fork becomes internal IP with no upstream security patches.
Key questions.
gridOptions or an opinionated schema?Stack fit. Poor as-is. A Laravel 10/11 + Vite + Blade (or Inertia/Livewire) stack should consume AG Grid from npm, register modules explicitly, and feed data through an Eloquent-backed JSON endpoint. The Symfony bundle contributes nothing to routing, auth, validation, or query building — the parts of a grid feature that actually cost engineering time.
Migration path. Do not adopt the bundle as a runtime dependency. Treat it as reference material: read its config-building classes, port any useful column-definition logic into a small App\Support\Grid\ColumnBuilder, and keep the AG Grid version pinned in package.json. If a spike shows the bundle's abstractions save real effort, vendor the specific classes (Apache-2.0 permits this with attribution) rather than pulling the bundle in.
Compatibility. Expect friction at every seam: Symfony bundle registration vs. Laravel providers, Twig helpers vs. Blade, PHP 7-era type hints vs. modern strict types, and AG Grid API drift. None is individually blocking; collectively they mean the package cannot be dropped in and trusted.
Sequencing.
Maintenance. Effectively unmaintained. Owning this means owning a fork: pinning, patching, and tracking AG Grid upgrades yourself. Budget a recurring fraction of an engineer's time, or avoid the cost entirely by not depending on it.
Support. No vendor, no community (2 stars, 0 dependents), no issue triage. Internal documentation and an identified SME are mandatory if any code is reused. External support contracts will not cover it.
Scaling. The bundle does not solve the hard scaling problems. Client-side row model breaks down past tens of thousands of rows; the real answer is server-side filtering/sorting/pagination in Laravel with indexed queries and a stable JSON contract. Grid configuration size is trivial; data transfer and query cost dominate, and those live entirely in application code.
Failure modes. Silent JSON/config shape mismatches after an AG Grid upgrade; Twig/Symfony container assumptions failing under Laravel; unverified PHP 8 behavior at runtime; abandoned-dependency policy violations in CI/SCA gates; license non-compliance if Enterprise features are assumed available; and knowledge concentration if one engineer ports the bundle without documentation.
Ramp-up. Low for the recommended path — AG Grid is well documented and widely used, and a competent Laravel developer can deliver a functional grid in days. Ramp-up on the Symfony bundle itself is low-value effort: the skills do not transfer to the rest of the Laravel codebase, and the surface is small enough that reading it once is sufficient. Net recommendation: evaluate as reference, integrate AG Grid directly, and keep the dependency count at zero.
How can I help you explore Laravel packages today?