PHPackages                             ajenguianis/easy-file-parser - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. ajenguianis/easy-file-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

ajenguianis/easy-file-parser
============================

Library to parse easily csv, xlsx and txt files.

v1.3.0(2y ago)015MITPHPPHP &gt;=8.0

Since Oct 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ajenguianis/easy-file-parser)[ Packagist](https://packagist.org/packages/ajenguianis/easy-file-parser)[ RSS](/packages/ajenguianis-easy-file-parser/feed)WikiDiscussions develop Synced 1mo ago

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

PHP FTP and SFTP Client Connector Library
=========================================

[](#php-ftp-and-sftp-client-connector-library)

[![License](https://camo.githubusercontent.com/f7923dea855c3d7b8aecb9d233c201b80bb3124f757a3dcd77296fb1600d2def/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616a656e677569616e69732f656173792d66696c652d706172736572)](https://github.com/ajenguianis/easy-file-parser/blob/develop/LICENSE)[![Latest Release](https://camo.githubusercontent.com/d00d296e5f048d2218d6afae52ca24da103378e93f3e6e689a70f0c697427edf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616a656e677569616e69732f656173792d66696c652d706172736572)](https://github.com/ajenguianis/easy-file-parser/releases/latest)[![Total Downloads](https://camo.githubusercontent.com/c22dd178cb784b70488eecaee9a18ed4b52bc08a6135a9cff22a854df547a1ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616a656e677569616e69732f656173792d66696c652d706172736572)](https://camo.githubusercontent.com/c22dd178cb784b70488eecaee9a18ed4b52bc08a6135a9cff22a854df547a1ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616a656e677569616e69732f656173792d66696c652d706172736572)[![Latest Unstable Version](https://camo.githubusercontent.com/a38409c2f6bdbf36056fd830e21732c39534dac8eaef4e1af5558947bc358704/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f616a656e677569616e69732f656173792d66696c652d706172736572)](https://camo.githubusercontent.com/a38409c2f6bdbf36056fd830e21732c39534dac8eaef4e1af5558947bc358704/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f616a656e677569616e69732f656173792d66696c652d706172736572)[![PHP Version](https://camo.githubusercontent.com/0916ef9bb49fd678a17b2ff0d08599618c0d42b23b08f388f3872ab4fd5d90c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616a656e677569616e69732f656173792d66696c652d706172736572)](https://camo.githubusercontent.com/0916ef9bb49fd678a17b2ff0d08599618c0d42b23b08f388f3872ab4fd5d90c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f616a656e677569616e69732f656173792d66696c652d706172736572)

The EasyFileParser PHP library simplifies the process of parsing various file formats, including TXT, XLSX, and CSV. It offers a collection of reusable code components that streamline data extraction and manipulation from these file types, making it an essential tool for data processing tasks.

Features
--------

[](#features)

- Seamless parsing of TXT, XLSX, and CSV files.
- Reusable code components for efficient data extraction.
- Simplified integration into your PHP projects.
- Enhance your data processing capabilities with minimal effort.

Getting Started
---------------

[](#getting-started)

To get started with our library, you can install it via Composer:

```
     composer require ajenguianis/easy-file-parser

```

Usage
-----

[](#usage)

### Load file

[](#load-file)

Detect parser by extension and parse file:

```
    $parser= new Parser($path);
    $parser->parse($path, $mode); mode is mondatory only if csv file

```

### Set header index

[](#set-header-index)

```
    $parser->setHeaderOffset(0);

```

### Set delimiter

[](#set-delimiter)

```
    $parser->setDelimiter(';');

```

### Get rows

[](#get-rows)

```
	$params=[
      'offset'=>0,
	  'limit'=>10
	];

	#if xlsx file

	$params=[
	  'sheetName'=>'import',
      'offset'=>0,
	  'limit'=>10
	];

    If you need all records set limit to null

   $parser->getRecords($params);

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Every ~25 days

Total

4

Last Release

846d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ajenguianis-easy-file-parser/health.svg)

```
[![Health](https://phpackages.com/badges/ajenguianis-easy-file-parser/health.svg)](https://phpackages.com/packages/ajenguianis-easy-file-parser)
```

###  Alternatives

[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[pimcore/studio-backend-bundle

Pimcore Studio Backend Bundle

19112.5k3](/packages/pimcore-studio-backend-bundle)[voidagency/vactory_starter_kit

Vactory is a custom Drupal profile which is developed and released by VOID Agency.

1019.7k](/packages/voidagency-vactory-starter-kit)

PHPackages © 2026

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