- Can I use firano/datagrid-bundle in a Laravel application?
- No. It is a Symfony 2 bundle that boots through the Symfony kernel and dependency injection container, with no Laravel service provider, no Blade helpers, and no Eloquent integration. Composer will install it into a Laravel project, but nothing will register the bundle, so you cannot render a grid from a Laravel controller.
- How do I install firano/datagrid-bundle with Composer?
- Installation is a standard Composer require, but that is where the practical guidance ends for Laravel teams. The package targets Symfony 2 dependency injection and PHP 5.x-era constraints, so pulling it into a modern Laravel app means fighting platform requirements. Avoid --ignore-platform-reqs as a workaround, because it only gets you past Composer, not past the runtime you would then have to support.
- Does firano/datagrid-bundle support Laravel 9, 10, or 11?
- No supported Laravel version is targeted. The bundle is built on Symfony 2, which reached end of life in November 2018, and it has no awareness of modern PHP or current Laravel conventions. Treat any successful install as unsupported and untested.
- What does firano/datagrid-bundle actually do?
- It wires the jqGrid jQuery plugin into a Symfony application so you can define columns with custom labels and render callbacks, and get request-driven sorting, pagination, and filtering. Rows come from Doctrine queries or custom providers and are rendered through Twig. Its portable value is really the request and response contract rather than the code itself.
- Is firano/datagrid-bundle still maintained?
- There are no signs of active maintenance: zero stars, zero dependents, and no visible maintainer footprint. The repository name also differs from the bundle name (NeutronDataGridBundle), which is the classic pattern of a renamed or republished fork. Treat the MIT license as the only verifiable fact and assume no issue triage or CVE response.
- What is the best alternative to firano/datagrid-bundle for Laravel admin tables?
- For a Laravel app, use a native solution such as Eloquent pagination with query-string sorting and filters, an API Resource, or a component library like Livewire for interactive tables. If a legacy jqGrid front end must be supported, keep the jQuery plugin on the client and serve it from a Laravel endpoint. Either path removes the Symfony 2 dependency and the end-of-life liability entirely.
- How do I build a jqGrid-compatible endpoint in Laravel without the bundle?
- Read page, rows, sidx, sord, _search, and filters from the request, translate them into Eloquent ordering, where clauses, and offset/limit, then return the jqGrid envelope with page, total, records, and rows keys. Keep that mapping in a single class so the contract stays testable and documented. A few hundred lines with tests covers it, and you own the code.
- Is jqGrid free, or does firano/datagrid-bundle require a commercial license?
- The bundle itself is MIT licensed, and the community jqGrid line it targets is effectively dormant. The actively developed line is the commercial Guriddo fork, which raises a licensing question that is rarely answered up front. Confirm which jqGrid build and license apply before shipping anything to production.
- How should I test a Laravel datagrid or jqGrid endpoint?
- Write feature tests that assert the response envelope shape (page, total, records, rows) and the paging math against known fixtures. Add cases for sorting on each allowed column, combined filters, and empty result sets. If you must keep jqGrid compatibility, treat the envelope as a versioned contract and test it independently of the UI.
- What are the risks of adding firano/datagrid-bundle to composer.json?
- The main risks are an unmaintained Symfony 2 codebase, PHP 5.x-era constraints, and nobody to escalate security issues to. In a Laravel app you also inherit a dependency that cannot boot, so you pay the maintenance cost for zero runtime benefit. Record the rejection rationale in your evaluated-and-rejected register so it is not re-litigated next quarter.