PHPackages                             pcs/read-csv - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. pcs/read-csv

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

pcs/read-csv
============

Class for reader CSV files

19PHP

Since Sep 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Pasquale-CS/read-csv-php)[ Packagist](https://packagist.org/packages/pcs/read-csv)[ RSS](/packages/pcs-read-csv/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\[EN\] - Reader CSV in PHP
==========================

[](#en---reader-csv-in-php)

Class PHP for reader CSV files

Include "src/pcs/read-csv/PcsReadCsv.php" in your project and use the class "PcsReadCsv()" in your script.

Quick installation
------------------

[](#quick-installation)

```
composer require pcs/read-csv
```

### Example usage (PHP):

[](#example-usage-php)

return table:

```
$csv = new PcsReadCsv($file_csv);

$csv->print_table();
```

return array:

```
$csv = new PcsReadCsv($file_csv);

$csv->read();
```

Do you Like!
------------

[](#do-you-like)

Give me a coffee: Thank you =)

---

\[IT\] - Leggi i files CSV
==========================

[](#it---leggi-i-files-csv)

Classe PHP per leggere i files CSV.

Includere il file "src/pcs/read-csv/PcsReadCsv.php" net tuo progetto e usare la classe "PcsReadCsv()" nel tuo script.

Installazione rapida
--------------------

[](#installazione-rapida)

```
composer require pcs/read-csv
```

### Esempio per l'uso (PHP):

[](#esempio-per-luso-php)

restituisce una tabella:

```
$csv = new PcsReadCsv($file_csv);

$csv->print_table();
```

restituisce un array:

```
$csv = new PcsReadCsv($file_csv);

$csv->read();
```

Ti Piace!
---------

[](#ti-piace)

Mi offri un caffè: Grazie =)

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0aee9094c9ba7c19cbab932609828251465c464f3641810355a438fed677bf42?d=identicon)[PasqualeCS](/maintainers/PasqualeCS)

---

Top Contributors

[![Pasquale-CS](https://avatars.githubusercontent.com/u/5924640?v=4)](https://github.com/Pasquale-CS "Pasquale-CS (20 commits)")

---

Tags

classcomposercomposer-packagecsvfilefilesphpprintreadreadertable

### Embed Badge

![Health badge](/badges/pcs-read-csv/health.svg)

```
[![Health](https://phpackages.com/badges/pcs-read-csv/health.svg)](https://phpackages.com/packages/pcs-read-csv)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
