Download the PHP package net_bazzline/php_component_csv without Composer
On this page you can find all versions of the php package net_bazzline/php_component_csv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download net_bazzline/php_component_csv
More information about net_bazzline/php_component_csv
Files in net_bazzline/php_component_csv
Package php_component_csv
Short Description free as in freedom php component to easy up usage (reading and writing) of csv files for php 5.6 and above
License LGPL-3.0
Informations about the package php_component_csv
CSV Handling Component for PHP
This project aims to deliver an easy to use and free as in freedom php compontent for dealing with csv files (read and write).
This component is heavily influenced by jwage/easy-csv. It was mainly created because of missing compatibility with php 5.6 and no official packagist support from jwage/easy-csv.
The build status of the current master branch is tracked by Travis CI:
Take a look on openhub.net.
The current change log can be found here.
Benefits
- low and stable memory usage (give it a try by using benchmarkReader and benchmarkWriter)
- works with PHP 5.6 and above
- __invoke() implemented to use it as function
- unified reader and writer
- adapter to easy up migration from EasyCsv - 0.0.1 to this component
- usage of filters - control what comes in and what comes out
- reader
- implemented iterator
- readOne();
- readMany();
- readAll();
- writer
- copy();
- delete();
- move();
- truncate();
- writeOne();
- writeMany();
- writeAll(); //truncates file and writes content
Install
By Hand
With Packagist
Usage
Reader
Read Content
By Iteration
By Using As A Function
Writer
Write Content
By Iteration
At Once
By Using As A Function
Truncate
Copy
Move
API
API is available at bazzline.net.
Other Great Components
Hall of Fame - The list of contributors
Contributing
Please see CONTRIBUTING for details.
Final Words
Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it. Donate something if you love it :-].
All versions of php_component_csv with dependencies
net_bazzline/php_component_generic_agreement Version ^1.0
net_bazzline/php_component_toolbox Version ^1.3
php Version >=5.6