nozavroni / csvelte

🕺🏻 CSV and Tabular Data library for PHP
http://phpcsv.com/
Other
6 stars 0 forks source link

Need to add CSVelte factory/facade class to docs #92

Closed nozavroni closed 8 years ago

nozavroni commented 8 years ago

The docs don't mention anywhere the much simpler syntax of:

<?php
$reader = CSVelte::reader('./data/file.csv');

over this:

<?php 
$input = new CSVelte\Input\File('./data/file.csv');
$reader = new CSVelte\Reader($input);

Add this to the docs as well as the other factory and facade methods provided by the CSVelte class.

nozavroni commented 8 years ago

Added -- just need to now make the actual code work how the docs say they do...