PHPackages                             ryoueno/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. ryoueno/csv

ActiveLibrary

ryoueno/csv
===========

v1.1(9y ago)026PHP

Since Apr 6Pushed 9y agoCompare

[ Source](https://github.com/uenoryo/csv)[ Packagist](https://packagist.org/packages/ryoueno/csv)[ RSS](/packages/ryoueno-csv/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

PHP Library for using csv file (｀・ω・´)
======================================

[](#php-library-for-using-csv-file-ω)

Installation
------------

[](#installation)

#### You can use Composer or simply Download the Release.

[](#you-can-use-composer-or-simply-download-the-release)

```
    composer require ryoueno/csv
```

Usage
-----

[](#usage)

#### \[0\] Get csv ready.

[](#0-get-csv-ready)

```
    id, name,
    1, "UDON",
    2, "SHUSHI",
    ・
    ・
    ・
```

#### \[1\] Make src instance just to set your path of csv file.

[](#1-make-src-instance-just-to-set-your-path-of-csv-file)

```
    $src = new \Gojiro\Src('path/to/MyCSV.csv');
```

#### \[2\] Make instance of csv by setting it.

[](#2-make-instance-of-csv-by-setting-it)

```
    $csv = new \Gojiro\Csv($src);
```

#### \[3\] Get data.

[](#3-get-data)

```
    $csv->get();
    /*
        [
            0 => [
                'id' => 1,
                'name' => 'UDON',
            ],
            1 => [
                'id' => 2,
                'name' => 'SHUSHI',
            ]
            .
            .
            .
        ]
    */
```

#### \[4\] You can use select/where query like DB language.

[](#4-you-can-use-selectwhere-query-like-db-language)

```
    $csv->select(['name'])->where->(['id' => 2])->get();
    /*
        [
            1 => [
                'name' => 'SHUSHI',
            ]
        ]
    */
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

3325d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56572717?v=4)[ryoueno](/maintainers/ryoueno)[@RyoUeno](https://github.com/RyoUeno)

---

Top Contributors

[![uenoryo](https://avatars.githubusercontent.com/u/15713787?v=4)](https://github.com/uenoryo "uenoryo (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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