Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Library to parse different types of files (CSV, XML, ...)

License

Notifications You must be signed in to change notification settings

FrancoisChaumont/file-parsers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FILE PARSERS - Read/parse files of various types

GitHub release contributions welcome GitHub issues GitHub stars Github All Releases

PHP library to parse different types of files:

  • CSV
  • XML

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements

PHP 7.1+

Installation

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

Testing

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.

Built with

  • Visual Studio Code

Authors

See also the list of contributors who particpated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.