2017 © Pedro Peláez
 

library csv

Simple CSV Downloader

image

niiyz/csv

Simple CSV Downloader

  • Sunday, March 29, 2015
  • by niiyz
  • Repository
  • 0 Watchers
  • 0 Stars
  • 948 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

CSV Download composer package

See https://packagist.org/packages/niiyz/csv, (*1)

Installation / Usage

  1. Create a composer.json defining your dependencies., (*2)

    json { "require": { "niiyz/csv": "dev-master" } }, (*3)

  2. Require this package in your composer.json and update composer.
    json composer install, (*4)

  3. test.php, (*5)

    ``` php <?php require_once("../vendor/autoload.php");, (*6)

    use Niiyz\Csv\CsvDownload;, (*7)

    $list = []; $list[] = ["山田太郎", 12, 165, 50]; $list[] = ["島田ジョン", 11, 175, 67]; $list[] = ["小泉今日子", 48, 155, 45];, (*8)

    $header = ["名前", "年齢", "身長", "体重"];, (*9)

    $csv = new CsvDownload($list, $header); $csv->convertEncoding('UTF-8', 'SJIS-win'); $csv->download('list.csv'); ```, (*10)

  4. list.csv text 名前,年齢,身長,体重 山田太郎,12,165,50 島田ジョン,11,175,67 小泉今日子,48,155,45, (*11)

The Versions

29/03 2015

dev-master

9999999-dev https://github.com/niiyz/csv

Simple CSV Downloader

  Sources   Download

MIT

by Avatar niiyz

csv download

28/03 2015

1.0.0

1.0.0.0 https://github.com/niiyz/csv

Simple CSV Downloader

  Sources   Download

MIT

by Avatar niiyz

csv download