aayushmhu/yii2-htmltocsv Export Any HTML Table into CSV or EXCEL

htmltocsv ΒΆ

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 @twitter
0 0
1 follower
25 downloads
Yii Version: 2.0
License: BSD-3-Clause
Category: User Interface
Developed by: aayushmhu
Created on: Jan 25, 2022
Last updated: 2 years ago
Packagist Profile
Github Repository