alexain/ux-gridjs
最新稳定版本:v0.1.6
Composer 安装命令:
composer require alexain/ux-gridjs
包简介
Symfony UX-style integration for Grid.js with AssetMapper + Stimulus (Turbo optional).
关键字:
README 文档
README
Symfony bundle to integrate Grid.js tables with Symfony 7.x/8.x using AssetMapper + Stimulus. Turbo Drive is optional.
Grid.js is MIT-licensed. See Credits section.
Requirements
- PHP >= 8.2
- Symfony 7.x/8.0
- symfony/asset-mapper (AssetMapper / importmap)
- symfony/stimulus-bundle (Stimulus)
Turbo Drive is optional
Installation
Install the bundle:
composer require alexain/ux-gridjs
Install Grid.js via importmap in the host Symfony app:
php bin/console importmap:require gridjs php bin/console importmap:install
importmap:require is the recommended way to add third-party JS packages with AssetMapper. Symfony
Register/use the Stimulus controller grid_controller.js shipped by this bundle.
Usage:
Twig rendering:
{{ gridjs_render(grid) }}
Where grid is the array produced by GridPresenter::toArray().
Backend-driven toolbar
Configure toolbar buttons from Symfony (no Twig overrides).
Credits & Licenses
Grid.js: MIT license
© 2025 - Alessandro Capano
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-18