2017 © Pedro Peláez
 

library csv

Converts a CSV file to either an SPL Array Object or just a plain array

image

delboy1978uk/csv

Converts a CSV file to either an SPL Array Object or just a plain array

  • Thursday, June 4, 2015
  • by delboy1978uk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

csv

PHP Static Class which converts a CSV file to either an SPL Array Object or just a plain array, (*1)

Installation

Insert the following into your composer.json, (*2)

"delboy1978uk/csv":"v1.0"

Usage

use Del\Csv;

Csv::toArray($filename,$array_object = true);

You must supply a filename. Throws an Exception on not finding the file. If you pass true(default second param, you don't need to) then it will return an ArrayObject If you pass false then a plain PHP array will be returned, (*3)

The Versions

04/06 2015

dev-master

9999999-dev

Converts a CSV file to either an SPL Array Object or just a plain array

  Sources   Download

by Derek McLean

04/06 2015

v1.0

1.0.0.0

Converts a CSV file to either an SPL Array Object or just a plain array

  Sources   Download

by Derek McLean