2amigos / yii2-exportable-widget
此包已弃用且不再维护。未建议替代包。
为 Yii2 的可导出 GridView 小部件。
2.0.2
2018-03-21 16:26 UTC
Requires
- box/spout: ^2.7
- yiisoft/yii2: ~2.0.5
- yiisoft/yii2-bootstrap: ^2.0.0
Requires (Dev)
- 2amigos/yii2-grid-view-library: ^1.0
- friendsofphp/php-cs-fixer: ^2.0
- phpmd/phpmd: @stable
- phpunit/phpunit: ~5.0
- squizlabs/php_codesniffer: *
Suggests
- 2amigos/yii2-grid-view-library: Required To use the ExportableBehavior on its GridView widget.
This package is auto-updated.
Last update: 2023-08-16 03:13:55 UTC
README
不仅仅是一个小部件,这是一个库。使用这个库,您可以在使用我们的 GridView 库(强烈推荐)或您自己的库的情况下,为您的 Yii2 应用程序提供导出功能。
如果您使用我们的 GridView 库,您将能够利用预定义的一组导出格式。结合 ToolbarBehavior,您只需在网格中进行几个配置设置即可导出。预定义的导出格式有:
- json
- csv
- xlsx
- html
- text
- xml
- ods
安装
安装此扩展的首选方法是通过 composer。
运行以下命令:
php composer.phar require "2amigos/yii2-exportable-widget" "*"
或者将以下内容添加到您应用程序的 composer.json
文件的 require 部分:
"2amigos/yii2-exportable-widget" : "^2.0"
to the require section of your application's composer.json
file.
文档
您可以在 http://yii2-exportable-widget.readthedocs.io/en/latest/ 上阅读最新的文档。
贡献
请参阅 CONTRIBUTING 以获取详细信息。
鸣谢
许可证
BSD 许可证(BSD)。有关更多信息,请参阅 许可证文件。
定制软件 | 网络和移动软件开发
www.2amigos.us