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

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

phore/csv-entity
================

CSV-backed table helper for simple typed PHP entity objects.

03PHPCI failing

Since Jul 2Pushed 1mo agoCompare

[ Source](https://github.com/phore/phore-csv-entity)[ Packagist](https://packagist.org/packages/phore/csv-entity)[ RSS](/packages/phore-csv-entity/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

phore/csv-entity
================

[](#phorecsv-entity)

`phore/csv-entity` stellt mit `Phore\CsvEntity\CSVEntityTable` eine einfache CSV-basierte Tabelle für typisierte PHP-Entity-Objekte bereit.

Die Klasse ermittelt die CSV-Spalten aus den öffentlichen Properties der Entity-Klasse. Properties, deren Name mit `_` beginnt, werden ignoriert. Unterstützt werden u. a. String-, Integer-, Float-, Boolean- und Array-Werte; Arrays werden als JSON serialisiert, Boolean-Werte als `y`/`n`.

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

[](#installation)

```
composer require phore/csv-entity
```

Kurzbeispiel
------------

[](#kurzbeispiel)

Siehe [`examples/basic-usage.php`](examples/basic-usage.php).

```
use Phore\CsvEntity\CSVEntityTable;

$table = new CSVEntityTable(Customer::class, __DIR__ . '/customers.csv');
$table->addObject($customer);
$table->save();

$loadedTable = new CSVEntityTable(Customer::class, __DIR__ . '/customers.csv');
$activeCustomers = $loadedTable->query(['active' => true]);
```

Tests
-----

[](#tests)

```
composer test
```

Git Submodules
--------------

[](#git-submodules)

Beim Klonen direkt mit auschecken:

```
git clone --recurse-submodules
```

Nachträglich initialisieren oder aktualisieren:

```
git submodule update --init --recursive
```

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance60

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

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/878a384d056698a2400e4b7c8858db05a6caebb2c560e67151be36d46d58def0?d=identicon)[dermatthes](/maintainers/dermatthes)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[super-eggs/dcat-distpicker

Distpicker extension for dcat-admin

8012.5k](/packages/super-eggs-dcat-distpicker)

PHPackages © 2026

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