2017 © Pedro Peláez
 

library csvmachine

A Delimiter-separated values manipulation library

image

theroadbunch/csvmachine

A Delimiter-separated values manipulation library

  • Tuesday, April 24, 2018
  • by danmcadams
  • Repository
  • 2 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

theroadbunch/csv-machine

A separation values manipulation library, (*1)

build status scrutinzer quality score Code Coverage License: MIT, (*2)

Contents

  1. Release Notes
  2. Installation
  3. Basic Usage
    a. Creating a CSV
  4. Formatters

Installation

composer require theroadbunch/csv-machine, (*3)

Basic Usage

Creating a CSV

<?php

// create a new Writer object
$csv = new \RoadBunch\Csv\Writer();

// set the header
$csv->setHeader([ 'Column A', 'Column B' ]);

// add some rows
$csv->addRow([ 'data_one_a', 'data_one_b' ]);
$csv->addRow([ 'data_two_a', 'data_two_b' ]);

// save the CSV to a file
$csv->saveToFile('/path/to/filename.csv');

// write the csv to a string
echo $csv->writeToString();

The Versions

24/04 2018

dev-feature/stream-handler

dev-feature/stream-handler

A Delimiter-separated values manipulation library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar dan

csv comma dsv delimiter

23/04 2018

dev-develop

dev-develop

A Delimiter-separated values manipulation library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar dan

csv comma dsv delimiter

22/04 2018

dev-master

9999999-dev

A Delimiter-separated values manipulation library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar dan

csv comma dsv delimiter

22/04 2018

v1.0.0-alpha.1

1.0.0.0-alpha1

A Delimiter-separated values manipulation library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar dan

csv comma dsv delimiter