sst / datatablesbundle
Symfony Datatable Bundle For Doctrine2 Entities
1.5.2
2024-07-31 13:50 UTC
Requires
- php: >=7.2|>=8.0
- doctrine/orm: ^2.5
- friendsofsymfony/jsrouting-bundle: ^2.0|^3.0
- symfony/config: ^4.4|^5.4|^6.0|^7.0
- symfony/dependency-injection: ^4.4|^5.4|^6.0|^7.0
- symfony/framework-bundle: ^4.4|^5.4|^6.0|^7.0
- symfony/http-foundation: ^4.4|^5.4|^6.0|^7.0
- symfony/http-kernel: ^4.4|^5.4|^6.0|^7.0
- symfony/options-resolver: ^4.4|^5.4|^6.0|^7.0
- symfony/property-access: ^4.4|^5.4|^6.0|^7.0
- symfony/routing: ^4.4|^5.4|^6.0|^7.0
- symfony/security-core: ^4.4|^5.4|^6.0|^7.0
- symfony/translation: ^4.4|^5.4|^6.0|^7.0
- twig/twig: ^2.9|^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.6
- phpspec/prophecy: ^1.19
- phpunit/phpunit: ^8.5|^9.5
README
此存储库是从 https://github.com/stwe/DatatablesBundle 分支出来的。
使用此存储库替换原始的 sg/datatablesbundle,以修复 XSS 问题。
安装
- 运行
composer require sst/datatablesbundle
- 将以下内容复制到
config/routes/sg_datatables_bundle.yaml
sg_datatables_bundle: resource: "@SgDatatablesBundle/Controller/" type: annotation prefix: /sg