export GridView to excel using PHPExcel

I want to export GridView data with PHPExcel, but i have no idea for this.

and i have install phpoffice/phpexcel using Composer.

please help…

Thanks in Advance…

You can use kartik-v/yii2-export

i won’t to use kartik-v/yii2-export… because with kartik-v/yii2-export change my all view file but i want to create component file with PHPExcel… :unsure: :unsure: