yiiman/yii-lib-excel

Simple library for parse and manipulate excel files

Installs: 941

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

Type:yii2-extension

dev-master 2024-01-28 11:20 UTC

This package is auto-updated.

Last update: 2024-11-07 14:49:55 UTC


README

Yii2 Excel Functions and class based PHPExcel package

Install

composer require yiiman/yii-lib-excel

Usage

Create component from YiiMan\YiiLibExcel\Excel class

Create Component In Yii2

    'components'=>
    [
    'excel'=>[
        'class'=>\YiiMan\YiiLibExcel\Excel::class
    ]  
];
Yii::$app->excel
    ->loadFile(__DIR__.'/list.xlsx')
    ->freezeFirstRow()
    ->setValue(1,2,'Hello excel')
    ->saveAndGetFilePath();