All Projects → thephpleague → Csv

thephpleague / Csv

Licence: mit
CSV data manipulation made easy in PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to Csv

brain-brew
Automated Anki flashcard creation and extraction to/from Csv
Stars: ✭ 55 (-98.08%)
Mutual labels:  csv-converter, csv
CSV2RDF
Streaming, transforming, SPARQL-based CSV to RDF converter. Apache license.
Stars: ✭ 48 (-98.32%)
Mutual labels:  csv-converter, csv
Codablecsv
Read and write CSV files row-by-row or through Swift's Codable interface.
Stars: ✭ 214 (-92.53%)
Mutual labels:  csv
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (-91.44%)
Mutual labels:  csv
Semantic Csv
Higher level tools for working with CSV data and files
Stars: ✭ 232 (-91.9%)
Mutual labels:  csv
Docto
Simple command line utility for converting .doc & .xls files to any supported format such as Text, RTF, CSV or PDF
Stars: ✭ 220 (-92.32%)
Mutual labels:  csv
Mapshaper
Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files
Stars: ✭ 2,813 (-1.75%)
Mutual labels:  csv
Csview
📠 A high performance csv viewer with cjk/emoji support.
Stars: ✭ 208 (-92.73%)
Mutual labels:  csv
Miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
Stars: ✭ 4,633 (+61.82%)
Mutual labels:  csv
Algeria Cities
The list of all Algerian provinces and cities according to the official division in different formats: csv, xlsx, php, json, etc.
Stars: ✭ 232 (-91.9%)
Mutual labels:  csv
Pxi
🧚 pxi (pixie) is a small, fast, and magical command-line data processor similar to jq, mlr, and awk.
Stars: ✭ 248 (-91.34%)
Mutual labels:  csv
Django Data Wizard
🧙⚙️ Import structured data (e.g. Excel, CSV, XML, JSON) into one or more Django models via an interactive web-based wizard
Stars: ✭ 227 (-92.07%)
Mutual labels:  csv
Userline
Query and report user logons relations from MS Windows Security Events
Stars: ✭ 221 (-92.28%)
Mutual labels:  csv
Kotlin Csv
Pure Kotlin CSV Reader/Writer
Stars: ✭ 238 (-91.69%)
Mutual labels:  csv
Babelish
Chaotically confused, like Babel
Stars: ✭ 217 (-92.42%)
Mutual labels:  csv
Csvtomarkdowntable
Simple JavaScript/Node.js CSV to Markdown Table Converter
Stars: ✭ 249 (-91.3%)
Mutual labels:  csv
Json To Csv
Nested JSON to CSV Converter
Stars: ✭ 216 (-92.46%)
Mutual labels:  csv
Gotenberg
A Docker-powered stateless API for PDF files.
Stars: ✭ 3,272 (+14.29%)
Mutual labels:  csv
Test Lists
URL testing lists intended for discovering website censorship
Stars: ✭ 236 (-91.76%)
Mutual labels:  csv
Easy Csv
EasyCSV is a simple Object Oriented CSV manipulation library for PHP 7.2+
Stars: ✭ 253 (-91.16%)
Mutual labels:  csv

CSV

Latest Version Software License Build Total Downloads

Csv is a simple library to ease CSV parsing, writing and filtering in PHP. The goal of the library is to be powerful while remaining lightweight, by utilizing PHP native classes whenever possible.

Highlights

  • Simple API
  • Read and Write to CSV documents in a memory efficient and scalable way
  • Support PHP stream filtering capabilities
  • Transform CSV documents into popular format (JSON, XML or HTML)
  • Fully documented
  • Fully unit tested
  • Framework-agnostic

Documentation

Full documentation can be found at csv.thephpleague.com.

System Requirements

You need PHP >= 7.4 and the mbstring extension to use Csv but the latest stable version of PHP is recommended.

Install

Install Csv using Composer.

composer require league/csv

Configuration

Warning: If your CSV document was created or is read on a Macintosh computer, add the following lines before using the library to help PHP detect line ending.

if (!ini_get("auto_detect_line_endings")) {
    ini_set("auto_detect_line_endings", '1');
}

Testing

League\Csv has a :

  • a PHPUnit test suite
  • a coding style compliance test suite using PHP CS Fixer.
  • a code analysis compliance test suite using PHPStan.

To run the tests, run the following command from the project folder.

composer test

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].