Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgauthi/component_spreadsheet
Class and method for read / generate spreadsheet files.
https://github.com/jgauthi/component_spreadsheet
csv csv-parser csv-reading php74 php82
Last synced: 6 days ago
JSON representation
Class and method for read / generate spreadsheet files.
- Host: GitHub
- URL: https://github.com/jgauthi/component_spreadsheet
- Owner: jgauthi
- License: gpl-3.0
- Created: 2020-06-17T12:28:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-10T12:05:00.000Z (10 months ago)
- Last Synced: 2024-11-13T03:15:02.571Z (2 months ago)
- Topics: csv, csv-parser, csv-reading, php74, php82
- Language: PHP
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Component Spreadsheet
Executables, class and method for read / generate spreadsheet files.The supported format:
* **CSV**: parameters by default, delimiter: `;`, enclore: `"`.
* On parsing method, convert empty value and `'NULL'` (phpmyadmin export NULL string in csv export) to `null`
* **XLSX.XML**: Xml file for Excel (excel document)## Prerequisite
* PHP 8.2 (v1.1+) or 7.4+ (v1.0)
* PHP extension
* Iconv
* Mbstring
* _(optional)_ Pdo, pdo-mysqli or another database (sqlite, etc)## Install
Edit your [composer.json](https://getcomposer.org) (launch `composer update` after edit):
```json
{
"repositories": [
{ "type": "git", "url": "[email protected]:jgauthi/component_spreadsheet.git" }
],
"require": {
"jgauthi/component_spreadsheet": "1.*"
}
}
```## Documentation
You can look at [folder example](example).