Download the PHP package zhortein/datatable-bundle without Composer
On this page you can find all versions of the php package zhortein/datatable-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zhortein/datatable-bundle
More information about zhortein/datatable-bundle
Files in zhortein/datatable-bundle
Package datatable-bundle
Short Description A Symfony 8+ bundle for Bootstrap-first business datatables driven by PHP definitions, with Twig rendering, Stimulus Ajax refresh, Doctrine provider, actions, filters and CSV/XLSX exports.
License MIT
Informations about the package datatable-bundle
Zhortein Datatable Bundle
A Symfony 8+ bundle for Bootstrap-first business datatables driven by PHP definitions.
Status
Alpha Stage. This bundle is under active development. The public API may change before the 1.0.0 release.
Requirements
- PHP: 8.4+
- Symfony: 8.0+
- Frontend: Bootstrap 5 (CSS/JS), Symfony UX Stimulus, and AssetMapper.
Features
- PHP-first Definitions: Declare your datatables as PHP classes with attributes.
- Twig Rendering: Render tables with a single Twig function:
{{ zhortein_datatable() }}. - Ajax Fragments: Seamless server-side updates using vanilla Stimulus.
- Data Providers: Native support for Doctrine ORM and Array providers.
- Filtering: Built-in global search, toolbar/header filters, and advanced Search Builder.
- Actions: Declarative row and global actions with CSRF-aware non-GET support.
- Exports: Server-side CSV and optional XLSX exports.
- Customization: Flexible UI/UX customization via Twig blocks and themes.
- Type Safety: Automatic Doctrine type detection and typed cell rendering.
Installation Summary
- Install the package:
Note that there is no automatic recipe for this bundle for now.
-
Register the bundle (if not done by Flex) in
config/bundles.php. -
Import routes:
-
Expose the Stimulus controller: Ensure
symfony/stimulus-bundleis installed and the controller is enabled inassets/controllers.json. - Bootstrap requirement: Ensure Bootstrap 5 CSS and JS are loaded in your layout.
See Installation Guide for detailed instructions.
Minimal Example
1. Define your Datatable
2. Render it in Twig
Documentation
- Documentation Index
- Installation
- Quick Start
- Providers Overview
- Doctrine Provider
- Filters
- Advanced Filters
- Actions & Security
- Bulk Actions & Selection
- Exports
- UI/UX & Controls
- Icon System
- Theming & Templates
- Frontend Test Strategy
- Roadmap
License
MIT
All versions of datatable-bundle with dependencies
symfony/config Version ^8.0
symfony/dependency-injection Version ^8.0
symfony/http-foundation Version ^8.0
symfony/http-kernel Version ^8.0
symfony/routing Version ^8.0
symfony/security-core Version ^8.0
symfony/security-csrf Version ^8.0
symfony/translation Version ^8.0
symfony/twig-bundle Version ^8.0
symfony/yaml Version ^8.0
twig/twig Version ^3.21