PHPackages                             agence-dnd-bundle/csv-converter - 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. agence-dnd-bundle/csv-converter

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

agence-dnd-bundle/csv-converter
===============================

csv converter for agence dnd

00PHP

Since Apr 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/manellelaamarti/csv-converter)[ Packagist](https://packagist.org/packages/agence-dnd-bundle/csv-converter)[ RSS](/packages/agence-dnd-bundle-csv-converter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Mon convertisseur de fichier CSV
================================

[](#mon-convertisseur-de-fichier-csv)

Ce projet va permettre de convertir un fichier CSV en tableau.

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

[](#installation)

```
git clone https://github.com/manellelaamarti/csv-converter.git
cd csv-bundle
composer install

```

Utiliser le convertisseur
-------------------------

[](#utiliser-le-convertisseur)

Ligne de commande:

```
> php csv-parser.php test.csv

```

Fichier à lire : *csv-parser.php* -&gt; execute le code de lecture et de mise en forme + de code de CsvBundle (formatage des données).
--------------------------------------------------------------------------------------------------------------------------------------

[](#fichier-à-lire--csv-parserphp---execute-le-code-de-lecture-et-de-mise-en-forme--de-code-de-csvbundle-formatage-des-données)

Fichier à lire : *test.csv* -&gt; fichier de test.
--------------------------------------------------

[](#fichier-à-lire--testcsv---fichier-de-test)

```
sku;title;is_enabled;price;currency;description;created_at
628937273;Cornelia, the dark unicorn;1;14.87;€;Cornelia, \rThe Dark Unicorn.;2018-12-12 10:34:39
722821313;Be my bestie;0;18.80;€;Be my bestie, darling sweet.;2018-12-12 10:34:39

```

Résultat de la ligne de commande
--------------------------------

[](#résultat-de-la-ligne-de-commande)

```
+-----------+----------------------------+---------+--------+-----------------------------------+----------------------+
| Sku       | Title                      | Status  | Price  | Description                       | Created at           |
+-----------+----------------------------+---------+--------+-----------------------------------+----------------------+
| 628937273 | cornelia--the-dark-unicorn | Enable  | 14.87€ | Cornelia, \rThe Dark Unicorn.     | 2018-12-12 10:34:39  |
| 722821313 | be-my-bestie               | Disable | 18.80€ | Be my bestie, darling sweet. | 2018-12-12 10:34:39  |
+-----------+----------------------------+---------+--------+-----------------------------------+----------------------+

```

CsvBundle.php
=============

[](#csvbundlephp)

Méthodes importantes :
----------------------

[](#méthodes-importantes-)

formatHeaders() - parseRows()
-----------------------------

[](#formatheaders---parserows)

```
Méthodes me permettant de définir chaque entête de mon tableau ainsi que chaque colonne,
Dans celles-ci je m'occupe de leur formatage par rapport aux consignes données
(voir commentaires dans le code)

```

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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://avatars.githubusercontent.com/u/92976934?v=4)[Manelle Laamarti](/maintainers/manellelaamarti)[@manellelaamarti](https://github.com/manellelaamarti)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/agence-dnd-bundle-csv-converter/health.svg)

```
[![Health](https://phpackages.com/badges/agence-dnd-bundle-csv-converter/health.svg)](https://phpackages.com/packages/agence-dnd-bundle-csv-converter)
```

PHPackages © 2026

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