PHPackages                             egyg33k/csv-bundle - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. egyg33k/csv-bundle

ActiveSymfony-bundle[PDF &amp; Document Generation](/categories/documents)

egyg33k/csv-bundle
==================

Integration of League CSV into Symfony

1.0.1(10y ago)1027.1k↓50%1[1 issues](https://github.com/EGYG33K/CsvBundle/issues)MITPHPPHP &gt;=5.5.9

Since Jan 31Pushed 6y ago2 watchersCompare

[ Source](https://github.com/EGYG33K/CsvBundle)[ Packagist](https://packagist.org/packages/egyg33k/csv-bundle)[ Docs](https://github.com/EGYG33K/CsvBundle)[ RSS](/packages/egyg33k-csv-bundle/feed)WikiDiscussions master Synced 1mo ago

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

csv-bundle
==========

[](#csv-bundle)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/b4d7387ccc65c49a7c1de23a06c6037893f0bab2d93f86cce38cd06d6e831b7e/68747470733a2f2f7472617669732d63692e6f72672f4547594733334b2f43737642756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/EGYG33K/CsvBundle)[![Total Downloads](https://camo.githubusercontent.com/479e1c4043cfb7708aa8735af7bf73989e16244b8b3434e1ed10c5453c414ffc/68747470733a2f2f706f7365722e707567782e6f72672f6567796733336b2f6373762d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/egyg33k/csv-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/84863d160325825c7ae770f7103039e0edd5723c80c176efdff42712a5b7c9b0/68747470733a2f2f706f7365722e707567782e6f72672f6567796733336b2f6373762d62756e646c652f762f737461626c65)](https://packagist.org/packages/egyg33k/csv-bundle)

This bundle is integration for League/Csv in Symfony

System Requirements
-------------------

[](#system-requirements)

You need **PHP &gt;= 5.5.0** and the mbstring extension to use Csv but the latest stable version of PHP/HHVM is recommended.

Install
-------

[](#install)

Via Composer

```
$ composer require egyg33k/csv-bundle
```

Usage
-----

[](#usage)

```
# Reader
$reader = $this->container->get('egyg33k.csv.reader');
$csv = $reader::createFromPath('/home/egyg33k/Desktop/org.csv');
var_dump($csv->fetchOne());
#Writer
$writer = $this->container->get('egyg33k.csv.writer');
$csv = $writer::createFromFileObject(new \SplTempFileObject());
$csv->insertOne(['firstname', 'lastname', 'email']);
$csv->output('users.csv');
```

Documentation
-------------

[](#documentation)

Testing
-------

[](#testing)

```
$ phpunit
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- Amr Samy

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

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 ~4 days

Total

2

Last Release

3755d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f814dea5c300aa7429fe107f422b598d23e73a6350e3f25052d020a5f674f67c?d=identicon)[EGYG33K](/maintainers/EGYG33K)

---

Top Contributors

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

---

Tags

csv

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[soapbox/laravel-formatter

A formatting library that converts data output between XML, CSV, JSON, TXT, YAML and a few others.

2501.1M12](/packages/soapbox-laravel-formatter)[ee/dataexporter-bundle

Easy export data to CSV, XML, HTML, JSON or XLS

4982.5k](/packages/ee-dataexporter-bundle)[jgrygierek/batch-entity-import-bundle

Importing entities with preview and edit features for Symfony.

101.1M1](/packages/jgrygierek-batch-entity-import-bundle)[jgrygierek/sonata-batch-entity-import-bundle

Importing entities with preview and edit features for Sonata Admin.

10951.2k](/packages/jgrygierek-sonata-batch-entity-import-bundle)[silverstripe/gridfieldqueuedexport

Export large data sets from your GridField in the SilverStripe CMS interface through async jobs

10213.1k5](/packages/silverstripe-gridfieldqueuedexport)[jbzoo/csv-blueprint

CLI Utility for Validating and Generating CSV files based on custom rules. It ensures your data meets specified criteria, streamlining data management and integrity checks.

573.2k](/packages/jbzoo-csv-blueprint)

PHPackages © 2026

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