renearias/arxis-datatables-bundle
A Laravel/PHP DataTables bundle for building sortable, searchable, paginated tables with server-side processing, query helpers, and Blade-friendly integration. It reduces repetitive boilerplate for admin, reporting, and data-heavy interfaces while keeping table logic maintainable.
Treat this as a Symfony bundle, not a Laravel package. The release notes describe ArxisDatatablesBundle forked from sg/datatablesbundle; there is no Laravel service provider, facade, Blade integration, or Eloquent adapter mentioned.
First steps:
Resources/doc/index.md.Resources/doc/index.md and Resources/doc/example.md; the notes point to separate docs for master and v0.6.1.v0.6.1 as recommended, while master/v0.7 carries the new features.DataTable class, define columns in the column builder, expose it through an AJAX route, and render it with DataTables in a Symfony template.Minimal custom-column usage from the release notes:
$this->columnBuilder
->add("title", new CustomColumn(), [
"example_string_option" => "title",
"example_boolean_option" => false,
]);
columnBuilder rather than hand-writing DataTables JavaScript. This is the main day-to-day workflow: add columns, configure options, and let the bundle generate the client-side configuration.add(). Use this for reusable rendering/filtering behavior such as status badges, links, or domain-specific formatting.multiselect column for bulk delete/disable workflows. Define start_html, end_html, attributes, and actions; each action maps to a route and optional role.$this->getColumnBuilder()
->add(null, "multiselect", [
"start_html" => '<div class="wrapper" id="testwrapper">',
"end_html" => '</div>',
"attributes" => [
"class" => "testclass",
"name" => "testname",
],
"actions" => [
[
"route" => "post_bulk_delete",
"label" => "Delete",
"role" => "ROLE_ADMIN",
],
[
"route" => "post_bulk_disable",
"label" => "Disable",
],
],
]);
role option is useful for UI affordance, but bulk action routes must independently validate permissions and selected IDs.v0.6.1 and only adopt master/v0.7 features after testing. Keep docs version aligned with the installed code.php artisan commands, auto-discovery, Laravel config publishing, Blade directives, or Eloquent query builder are documented. Expect Symfony bundle registration and configuration.master docs from v0.6.1 docs, while calling v0.6.1 recommended. A feature shown in the release notes may be master-only or unstable.start_html and end_html are injected markup. Avoid untrusted/user-controlled values and confirm escaping behavior in your templates.role field as an authorization boundary.How can I help you explore Laravel packages today?