PHP Classes

b3rtCSVReader: Parse CSV files in pure PHP

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 491 All time: 5,872 This week: 455Up
Version License PHP version Categories
b3rtcsvreader 1.03BSD License5.0PHP 5, Files and Folders
Description 

Author

This class can be used to parse CSV files.

It opens and reads a given CSV file parsing the data in its rows using pure PHP code without using fgetcsv function.

The class reads on record row at a time and returns an array with the values for all columns.

The column separator character is configurable, so it can be a tab or anything besides the default character, which is a comma.

Picture of H. Poort
Name: H. Poort <contact>
Classes: 3 packages by
Country: The Netherlands The Netherlands
Age: ???
All time rank: 115730 in The Netherlands The Netherlands
Week rank: 227 Up3 in The Netherlands The Netherlands Up

  Files folder image Files (3)  
File Role Description
Plain text file class.b3rtCSVReader.php Class Class
Accessible without login Plain text file example.csv Data Example data
Accessible without login Plain text file example.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:491
This week:0
All time:5,872
This week:455Up