aayushmhu / yii2-htmltocsv
Export Any HTML Table into CSV or EXCEL
Package info
github.com/aayushmhu/htmltocsv
Language:JavaScript
Type:yii2-extension
pkg:composer/aayushmhu/yii2-htmltocsv
dev-master
2021-12-31 17:32 UTC
Requires
- php: ^7.1 || ^8.0
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-03-01 00:37:40 UTC
README
To Install This Plugin Run THis Command into your terminal
"composer require aayushmhu/yii2-htmltocsv dev-master"
To Use This Extension You Just Need to Write This
For Example:
use \aayushmhu\htmltocsv\ExportButton;
echo ExportButton::widget([
'tableid'=>'table_id',
'filename'=>'Hello',
'options' => [
'id'=>\aayushmhu\htmltocsv\ExportButton::DEFAULT_BUTTON,
'class'=>'btn btn-primary',
],
]);
| # | First | Last | Handle |
|---|---|---|---|
| 1 | Mark | Otto | @mdo |
| 2 | Jacob | Thornton | @fat |
| 3 | Larry | the Bird |