webmen / datatable-bundle
Symfony datatable
Installs: 316
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 10
Forks: 0
Type:symfony-bundle
Requires
- php: ~8.0.0 || ~8.1.0
- ext-json: *
- doctrine/orm: ^2.7
- openspout/openspout: ^4.6
- symfony/config: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/options-resolver: ^5.4 || ^6.0
- symfony/translation: ^5.4 || ^6.0
- symfony/twig-bundle: ^5.4 || ^6.0
Suggests
- symfony/webpack-encore-bundle: To manage the building and creating of your frontend files
This package is auto-updated.
Last update: 2024-12-10 15:06:24 UTC
README
The Symfony DatatableBundle is an easy way to create sortable and filterable tables
Installation
Use composer to install webmen/datatabundle
composer require webmen/datatable-bundle
Add the assets to your package.json
"@webmen/datatable-bundle": "file:vendor/webmen/datatable-bundle/assets"
Import the javascript in your own entry file
import '@webmen/datatable-bundle/js/index';
Import the SCSS styling in your own entry file
@import "~@webmen/datatable-bundle/scss/index";
Now you should be able to use this bundle in your symfony application
Export
An export interface is provided to have some clue as how to export a datatable.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.