PHP library to parse different types of files:
- CSV
- XML
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
PHP 7.1+
Install this package with composer by simply adding the following to your composer.json file:
"repositories": [
{
"url": "https://github.com/FrancoisChaumont/file-parsers.git",
"type": "git"
}
]
and running the following command:
composer require francoischaumont/file-parsers
Under the folder named tests you will find a demo csv file and a test script ready to use.
This demo CSV file is provided by SpatialKey
This simple test open a demo CSV file, read every lines and display them.
No tests yet for XML.
- Visual Studio Code
- Francois Chaumont - Initial work - FrancoisChaumont
See also the list of contributors who particpated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.