GithubHelp home page GithubHelp logo

jwage / easy-csv Goto Github PK

View Code? Open in Web Editor NEW
254.0 12.0 58.0 86 KB

EasyCSV is a simple Object Oriented CSV manipulation library for PHP 7.2+

License: MIT License

PHP 100.00%
php csv csv-reader

easy-csv's People

Contributors

adosaiguas avatar cordoval avatar harikt avatar jeremyfreeagent avatar jorgecolonconsulting avatar jwage avatar korstiaan avatar nyholm avatar peter279k avatar royopa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

easy-csv's Issues

Strip out BOM at start of file?

Hello,

just wanted to know what your thoughts would be on a small PR to strip out BOM at the beginning of a file, as having a BOM in the header key of the first field in the file can lead to very frustrating issues. Is this something you think the library should take care of?

Add composer.json

Many people like me forked this project just to add composer.json. Adding to main project would avoid it ๐Ÿ‘

What kind of license is it?

I would like to use it, but since there is no license available, I don't know if I'am allowed to use it.
Could you please add a license to it (preferred LGPL-v3 ;-))?

Kind regards and thanks for the work

Empty line at the end of the file

Hello,

For some reason it saves an empty line at the end of the document (for example if I write 5 records, there are 6 lines), how to fix it?

Better configuration support for delimiter and enclosure

Hi Jonathan,

if I use the Reader descriped in your docs:

$reader = new \EasyCSV\Reader('foo.csv');

there is no way to set the delimiter and enclosure property for the header.

The methods setDelimiter() and setEnclosure() from AbstractBase only affects the lines after the header, because the constructor from Reader reads the first line with default values from AbstractBase.

There should be a more sophisticated way to set delimiter and enclosure before parsing the first line.

Best regards,
Patrick

rely on SplFileObject?

I wrote something similiar to this class but relied on SplFileObject.. Is that something you're interested having?

Releases

Please add your latest commits as a new release.

can we please tag it and also set a 1.0 release

i know it has been just bugfixes but would be best to cap a 1.0 release

and move more stable so we can do ~1.0 in our projects and get all the bugfixes on the third number without doing 1.0.@dev or worst 0.0.@dev or more crazy stuff

You rock.

No issue here - just a thank you for a very helpful library. You saved me a bunch of time over the past week.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.