PHPackages                             matrixpro/csv-delimiter-finder - 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. matrixpro/csv-delimiter-finder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

matrixpro/csv-delimiter-finder
==============================

Finds the delimiter in CSV files.

010PHP

Since Mar 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Matrixpro/csv-delimiter-finder)[ Packagist](https://packagist.org/packages/matrixpro/csv-delimiter-finder)[ RSS](/packages/matrixpro-csv-delimiter-finder/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

MatrixPro CSV Delimiter Finder
==============================

[](#matrixpro-csv-delimiter-finder)

[![License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)

Automatically detects the delimiter type in a CSV file. Compatible with large CSV datasets (tested on 4gb+ files).

Install via composer:

```
composer require matrixpro/csv-delimiter-finder

```

Usage
-----

[](#usage)

Usage is simple: Simply pass a CSV file handle to the finder and use the findDelimiter() method. Will return FALSE if no valid delimiter is found.

```
$handle = fopen('path/to/file.csv', "r");
$finder = new CsvDelimiterFinder($handle);
$delimiter = $finder->findDelimiter();
```

You may optionally override the default set of delimiters that it checks for by using the setDelimiters() method:

```
$custom_delimiters = [',',';','|',"\t"];
$finder->setDelimiters($custom_delimiters);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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/33a94deef0e5a61d5b791b5d19185dec7eb621a6a714c96e1eb6850534aa0398?d=identicon)[MatrixPro](/maintainers/MatrixPro)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/matrixpro-csv-delimiter-finder/health.svg)

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

###  Alternatives

[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)[roave/psalm-html-output

Psalm HTML Output

23312.0k1](/packages/roave-psalm-html-output)[pear/system_daemon

A port of the PEAR class to create Daemons with pure PHP

11139.9k1](/packages/pear-system-daemon)[mateffy/laravel-codebase-mcp

An MCP server to give Cursor, Aider, etc. the ability to introspect your Laravel codebase directly, by querying for your models, views, routes and classes without raw file search.

201.1k](/packages/mateffy-laravel-codebase-mcp)

PHPackages © 2026

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