2017 © Pedro Peláez
 

yii2-extension yii2-csv-export

Export data to CSV file

image

xzzyassin/yii2-csv-export

Export data to CSV file

  • Tuesday, May 16, 2017
  • by XZz_Yassin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Export array data to csv file

Installation

The preferred way to install this extension is through composer., (*1)

php composer.phar require serrg1994/yii2-csv-export "@dev"

or add, (*2)

"serrg1994/yii2-csv-export": "@dev"

to the require section of your composer.json., (*3)

Usage

CSVExport::Export([
    'dirName' => Yii::getAlias('@webroot'),
    'fileName' => 'users.csv',
    'data' => [
        ['#', 'User Name', 'Email'],
        ['1', 'Serhiy Novoseletskiy', 'novoseletskiyserhiy@gmail.com']
    ]
]);

The Versions

16/05 2017

dev-master

9999999-dev

Export data to CSV file

  Sources   Download

The Requires

 

by Mumen Yassin

csv yii2 export

16/05 2017

v1.0

1.0.0.0

Export data to CSV file

  Sources   Download

The Requires

 

by Mumen Yassin

csv yii2 export