PHPackages                             baolq2020/rdcsv - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. baolq2020/rdcsv

ActiveLibrary[File &amp; Storage](/categories/file-storage)

baolq2020/rdcsv
===============

Read data from csv file

02PHP

Since Mar 13Pushed 6y agoCompare

[ Source](https://github.com/baolq2020/rdcsv)[ Packagist](https://packagist.org/packages/baolq2020/rdcsv)[ RSS](/packages/baolq2020-rdcsv/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Read csv file
=============

[](#read-csv-file)

Setup:
------

[](#setup)

`composer require baolq2020/rdcsv:dev-master`

Example:
--------

[](#example)

### We have 2 way for using this library:

[](#we-have-2-way-for-using-this-library)

#### \#You can use function for convert csv to array.

[](#you-can-use-function-for-convert-csv-to-array)

##### Full option

[](#full-option)

```
$Iacsv = Iacsv::start('path file')
	->setRowStart(2) // This is option( Default 0 )
	->setIsUTF8(true) // This is option( Will be auto detect if you don't set )
	->setDelimiter(';') // This is option( Will be auto detect if you don't set )
	->all();

```

##### Short way with auto detect (slow performance)

[](#short-way-with-auto-detect-slow-performance)

```
$Iacsv = Iacsv::start('path file')->all();
```

---

#### \#You can loop csv file and get single row content for improve performance

[](#you-can-loop-csv-file-and-get-single-row-content-for-improve-performance)

```
$Iacsv = new Iacsv($pathFile);
$Iacsv->setRowStart(11); // This is option( Default 0 )
$Iacsv->setIsUTF8(true); // This is option( Will be auto detect if you don't set )
$Iacsv->setDelimiter(';'); // This is option( Will be auto detect if you don't set )
$Iacsv->openSingleRow();
while ($Iacsv->checkIsNotEof()) {
	$singleRow = $Iacsv->getSingleRow(); // You can get your single row data here.
	print_r($singleRow);
}
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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/f0cb42a3cbed260bdd428c11cf5722b40cefe6500ddb73025ef3676a14136028?d=identicon)[baolq2020](/maintainers/baolq2020)

---

Top Contributors

[![baolq2020](https://avatars.githubusercontent.com/u/62088838?v=4)](https://github.com/baolq2020 "baolq2020 (2 commits)")

### Embed Badge

![Health badge](/badges/baolq2020-rdcsv/health.svg)

```
[![Health](https://phpackages.com/badges/baolq2020-rdcsv/health.svg)](https://phpackages.com/packages/baolq2020-rdcsv)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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