Download the PHP package alexskrypnyk/csvtable without Composer
On this page you can find all versions of the php package alexskrypnyk/csvtable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alexskrypnyk/csvtable
More information about alexskrypnyk/csvtable
Files in alexskrypnyk/csvtable
Download alexskrypnyk/csvtable
More information about alexskrypnyk/csvtable
Files in alexskrypnyk/csvtable
Vendor alexskrypnyk
Package csvtable
Short Description PHP class to work with CSV as a table and export it as Markdown.
License GPL-2.0-or-later
Homepage https://github.com/AlexSkrypnyk/CsvTable
Package csvtable
Short Description PHP class to work with CSV as a table and export it as Markdown.
License GPL-2.0-or-later
Homepage https://github.com/AlexSkrypnyk/CsvTable
Please rate this library. Is it a good library?
Informations about the package csvtable
CsvTable
[![GitHub Issues](https://img.shields.io/github/issues/AlexSkrypnyk/CsvTable.svg)](https://github.com/AlexSkrypnyk/CsvTable/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/AlexSkrypnyk/CsvTable.svg)](https://github.com/AlexSkrypnyk/CsvTable/pulls)
[![Test](https://github.com/AlexSkrypnyk/CsvTable/actions/workflows/test-php.yml/badge.svg)](https://github.com/AlexSkrypnyk/CsvTable/actions/workflows/test-php.yml)
[![codecov](https://codecov.io/gh/AlexSkrypnyk/CsvTable/graph/badge.svg?token=7WEB1IXBYT)](https://codecov.io/gh/AlexSkrypnyk/CsvTable)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/AlexSkrypnyk/CsvTable)
![LICENSE](https://img.shields.io/github/license/AlexSkrypnyk/CsvTable)
![Renovate](https://img.shields.io/badge/renovate-enabled-green?logo=renovatebot)
PHP class to work with CSV as a table and export it as Markdown.
Features
- Single-file class to manipulate CSV table.
- Renderers for CSV and text table.
- Ability to provide custom renderer.
Installation
Usage
Given a CSV file with the following content:
From string
will produce identical CSV content by default:
From file
will produce identical CSV content by default:
Using CsvTable::renderTextTable()
renderer
will produce table content:
Using CsvTable::renderTextTable()
renderer with disabled header
will produce table content:
Custom renderer from class
will produce Markdown content:
Custom renderer as a callback
will produce CSV content:
Maintenance
Repository created using https://getscaffold.dev/ project scaffold template
All versions of csvtable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
The package alexskrypnyk/csvtable contains the following files
Loading the files please wait ....