Download the PHP package pentiminax/ux-datatables without Composer
On this page you can find all versions of the php package pentiminax/ux-datatables. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pentiminax/ux-datatables
More information about pentiminax/ux-datatables
Files in pentiminax/ux-datatables
Package ux-datatables
Short Description DataTables.net integration for Symfony
License MIT
Homepage https://github.com/pentiminax/ux-datatables
Informations about the package ux-datatables
UX DataTables
The easiest way to build DataTables.net tables in Symfony
Documentation • Demo • Video Tutorial
UX DataTables is a Symfony UX bundle that turns a PHP class into a fully featured DataTables.net table: typed columns, Doctrine-backed server-side processing, filters, actions, inline editing, and live updates.
Quick Start
Declare the table:
Pass it to your template:
Render it in Twig:
That's it!
📖 Read the full documentation →
Features
| Feature | Description |
|---|---|
| ⚡ Table in Minutes | Scaffold a table from any Doctrine entity with make:datatable |
| 🗄️ Server-side Processing | Pagination, search, and ordering handled through Doctrine, in-memory arrays, or API Platform |
| 🎛️ Typed Columns | Text, number, money, date, boolean, enum, and more, configured fluently |
| 🔍 Filters | Built-in filters and column controls to narrow down your data |
| ⚙️ Actions | Row actions, bulk actions over selected rows, and detail rows |
| ✏️ Inline Editing | Edit rows in a modal or toggle booleans in place, with CSRF protection |
| 📤 Exports | CSV and XLSX exports through the same query pipeline |
| 🧩 DataTables Extensions | Buttons, Select, Responsive, FixedHeader, RowGroup, SearchBuilder, and more, lazy-loaded |
| 📡 Live Updates | Optional Mercure integration to push changes to the table |
| 🎨 Bootstrap & Modals | Style and modal adapters you can swap or extend |
| 🌍 Translatable | English and French catalogs included |
| ✅ Testable | DataTableTestCase exercises your table through the same Ajax routes as the browser |
Requirements
- PHP 8.2 or higher
- Symfony 7.x or 8.x
- Symfony StimulusBundle 2.x or 3.x
Security
The bundle registers Ajax routes under /datatables/ajax/* for data, edit, delete, detail, bulk
actions, and exports. The table token embedded in the page identifies which table is requested,
not who requests it. Protect these routes with your Symfony Security configuration:
See Securing Ajax Routes for details.
Demo
A Symfony demo app in demo/ tours columns, filters, actions, exports, and extensions,
each page next to the code running it:
Contributing
Contributions are welcome. Read the contribution guidelines, then open an issue to discuss your idea or send a pull request.
License
This bundle is released under the MIT License.
All versions of ux-datatables with dependencies
symfony/config Version ^7.0 || ^8.0
symfony/dependency-injection Version ^7.0 || ^8.0
symfony/http-kernel Version ^7.0 || ^8.0
symfony/stimulus-bundle Version ^2.0 || ^3.0
symfony/property-access Version ^7.0 || ^8.0
symfony/serializer Version ^7.0 || ^8.0
symfony/security-bundle Version ^7.0 || ^8.0
symfony/security-csrf Version ^7.0 || ^8.0
symfony/deprecation-contracts Version ^2.5 || ^3.0