2017 © Pedro PelĂĄez
 

library csv

Simple library to read and write CSV files (includes a RFC 4180 compliant implementation)

image

ajgl/csv

Simple library to read and write CSV files (includes a RFC 4180 compliant implementation)

  • Friday, February 26, 2016
  • by ajgarlag
  • Repository
  • 1 Watchers
  • 5 Stars
  • 4,575 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 2 % Grown

The README.md

AjglCsv

The AjglCsv component allows you to read and write CSV files., (*1)

Build Status Latest Stable Version Latest Unstable Version Total Downloads Montly Downloads Daily Downloads License SensioLabsInsight, (*2)

There are currently two different implementations for the reader and writer classes:, (*3)

  • An implementation using the native fgetcsv and fputcsv functions
  • An implementation compatible with the RFC 4180

Installation

To install the latest stable version of this component, open a console and execute the following command:, (*4)

$ composer require ajgl/csv

Usage

The simplest way to use this library is to create a Ajgl\Csv\Csv instance with:, (*5)

$csv = Ajgl\Csv\Csv::create();

By default, the library uses the native f??tcsv functions. If you want to read or write RFC 4180 compatible files, you should set the default reader and writer types to rfc with:, (*6)

$csv->setDefaultReaderType('rfc');
$csv->setDefaultWriterType('rfc');

To create a new CSV reader or writer, you should call:, (*7)

$reader = $csv->createReader('/path/to/input.csv');
$writer = $csv->createWriter('/path/to/output.csv');

Symfony Bundle

If you need to integrate these library into your Symfony Framework app, you can install the AjglCsvBundle., (*8)

License

This component is under the MIT license. See the complete license in the LICENSE file., (*9)

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker., (*10)

Author Information

Developed with ♄ by Antonio J. GarcĂ­a Lagar., (*11)

If you find this component useful, please add a ★ in the GitHub repository page and/or the Packagist package page., (*12)

The Versions

26/02 2016

dev-master

9999999-dev https://github.com/ajgarlag/AjglCsv

Simple library to read and write CSV files (includes a RFC 4180 compliant implementation)

  Sources   Download

MIT

The Requires

 

csv

25/02 2016

0.4.0

0.4.0.0 https://github.com/ajgarlag/AjglCsv

Simple library to read and write CSV files (includes a RFC 4180 compliant implementation)

  Sources   Download

MIT

The Requires

 

csv

23/08 2014

0.3.0

0.3.0.0 https://github.com/ajgarlag/AjglCsv

Classes for reading and writing CSV files (includes RFC 4180 compliant classes)

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

csv

07/08 2014

0.2.1

0.2.1.0 https://github.com/ajgarlag/AjglCsv

Classes for reading and writing CSV files (includes RFC 4180 compliant classes)

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

csv

21/03 2014

0.2.0

0.2.0.0 https://github.com/ajgl/AjglCsv

Classes for reading and writing CSV files (includes RFC 4180 compliant classes)

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

csv

18/03 2014

0.1.0

0.1.0.0 https://github.com/ajgl/AjglCsv

Classes for reading and writing CSV files (includes RFC 4180 compliant classes)

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

csv

18/11 2013

0.0.2

0.0.2.0 https://github.com/ajgl/AjglCsv

Classes for reading and writing CSV files (includes RFC 4180 compliant classes)

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

csv

15/11 2012

0.0.1

0.0.1.0 https://github.com/ajgl/AjglCsv

Classes for reading and writing CSV files (includes RFC 4180 compliant classes)

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

csv