PHPackages                             larc/csv-easy - 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. larc/csv-easy

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

larc/csv-easy
=============

Lee y crear archivo csv

v1.0(4y ago)04Apache 2.0PHP

Since Jan 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luisarcia/csv-easy)[ Packagist](https://packagist.org/packages/larc/csv-easy)[ RSS](/packages/larc-csv-easy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

csv-easy v1.0
=============

[](#csv-easy-v10)

Lee y crear archivo CSV de manera fácil y rápida

### Instalación

[](#instalación)

```
composer require larc/csv-easy
```

### Uso

[](#uso)

#### Read

[](#read)

```
use Larc\CsvEasy\CSV;

//Se instancia la clase estatica y se llama llama el método read
//Al método se le pasa nombre del archivo y el delimitador. Por defecto es una coma ','
$read = CSV::read('read-test.csv', ';');
```

Devuelve un Array

```
array(2) {
  [0]=>
  array(6) {
    ["Provincia"]=>
    string(14) "Bocas del Toro"
    ["ISO"]=>
    string(4) "PA-1"
    ["Población"]=>
    string(6) "161845"
    ["Superficie"]=>
    string(11) "3037,74 Km2"
    ["Capital"]=>
    string(14) "Bocas del Toro"
    ["Creación"]=>
    string(4) "1903"
  }
  [1]=>
  array(6) {
    ["Provincia"]=>
    string(6) "Coclé"
    ["ISO"]=>
    string(4) "PA-2"
    ["Población"]=>
    string(6) "260292"
    ["Superficie"]=>
    string(8) "4927 Km2"
    ["Capital"]=>
    string(9) "Penonomé"
    ["Creación"]=>
    string(4) "1886"
  }
}
```

#### Write

[](#write)

```
use Larc\CsvEasy\CSV;

$column_name = ['No. del mes', 'Nombre del mes', 'Abreviatura'];
$data = [
	['1', 'Enero', 'Ene'],
	['2', 'Febrero', 'Feb'],
	['3', 'Marzo', 'Mar'],
	['4', 'Abril', 'Abr'],
	['5', 'Mayo', 'May'],
	['6', 'Junio', 'Jun'],
	['7', 'Julio', 'Jul'],
	['8', 'Agosto', 'Ago'],
	['9', 'Septiembre', 'Sep'],
	['10', 'Octubre', 'Oct'],
	['11', 'Noviembre', 'Nov'],
	['12', 'Diciembre', 'Dic']
];

//Nombre del archivo, Nombre de las columnas, data, delimitador por defecto ','
$write = CSV::write('write-test', $column_name, $data, ';');
```

Revuelve true / false

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

1573d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/larc-csv-easy/health.svg)

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

###  Alternatives

[ctidigital/magento2-configurator

Keep magento persistently configured using files

174317.4k](/packages/ctidigital-magento2-configurator)[comcast/php-legal-licenses

A utility to generate a Licenses file containing the full license text for every dependency in your project for legal purposes.

821.1M9](/packages/comcast-php-legal-licenses)[xfra35/f3-cron

Job scheduling for the PHP Fat-Free Framework

73107.5k](/packages/xfra35-f3-cron)[bagusindrayana/laravel-coordinate

get nearby location from eloquent laravel

3019.7k](/packages/bagusindrayana-laravel-coordinate)

PHPackages © 2026

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