PHPackages                             designbeat/csv-matcher - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. designbeat/csv-matcher

Abandoned → [contributte/utils](/?search=contributte%2Futils)Library[Utility &amp; Helpers](/categories/utility)

designbeat/csv-matcher
======================

1.0(10y ago)14.0kBSD-3-ClausePHPPHP &gt;=5.5

Since Oct 5Pushed 10y ago1 watchersCompare

[ Source](https://github.com/DesignBeat/CSV-Matcher)[ Packagist](https://packagist.org/packages/designbeat/csv-matcher)[ Docs](https://github.com/designbeat/csv-matcher)[ RSS](/packages/designbeat-csv-matcher/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

CSV parser
==========

[](#csv-parser)

[![Downloads this Month](https://camo.githubusercontent.com/9727442d717556cb742848d099563f91c5e0778adea92a26d49772651b9d785d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f64657369676e626561742f6373762d6d6174636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/designbeat/csv-matcher)[![Latest stable](https://camo.githubusercontent.com/2443d2f99d88bc61357b3b38d47d736447111d3162c8cb6ca308604063774558/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64657369676e626561742f6373762d6d6174636865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/designbeat/csv-matcher)

Install
-------

[](#install)

```
$ composer require designbeat/csv-matcher
```

Usage
-----

[](#usage)

See more in tests.

```
use DesignBeat\Matchers\CSV\CsvMatcher;
use DesignBeat\Matchers\CSV\CsvReader;

$scheme = [
    0 => 'user.name',
    1 => 'user.surname',
    2 => 'city',
    3 => 'extra.id',
    4 => 'extra.x',
];

$matcher = new CsvMatcher(new CsvReader(__DIR__ . '/tests/cases/files/fixtures.csv'));
$result = $matcher->match($scheme);
```

Result is:

```
0 => [
    'user' => [
        'name' => 'Milan',
        'surname' => 'Sulc',
    ],
    'city' => 'HK',
    'extra' => [
        'id' => '123456',
        'x' => 'foo',
    ],
],
1 => [
    'user' => [
        'name' => 'John',
        'surname' => 'Doe',
    ],
    'city' => 'Doens',
    'extra' => [
        'id' => '111111',
        'x' => 'bar',
    ],
],
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3914d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (3 commits)")

### Embed Badge

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

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

###  Alternatives

[overtrue/chinese-calendar

中国农历转换与查询工具

544110.6k5](/packages/overtrue-chinese-calendar)[sitegeist/silhouettes

Preconfigure property-silhuettes that can be applied to various properties of multiple NodeTypes.

16159.5k](/packages/sitegeist-silhouettes)

PHPackages © 2026

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