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

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

800tiger/parser
===============

CSV Object Importer Task

1.0(4y ago)09MITPHPPHP ^7.3|^8.0

Since May 22Pushed 4y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

CSV Object Parser
=================

[](#csv-object-parser)

create a small PHP powered tool which can take a CSV file as an input, parse the columns and rows into an object, sort the objects, ensure the Transaction Code is valid and then return the objects in a table format.

Features
--------

[](#features)

- Seperate input .csv file's first line as column Object and each line as record object.
- Can create customize columns.
- Ensure trasanction code valid by creating reusable traits (src/Traits/ValidateTraits.php)
- Sort data by timestamp column.
- Export csv data as objects array or json format.
- No need to save anything to database.
- Ability to figure out debit or credit as record object's attribute.

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install this parser.

```
composer require 800tiger/parser
```

If you don't use a framework such as Drupal, Laravel, Symfony, Yii etc., you may have to manually include Composer's autoloader file in your PHP script:

```
require_once __DIR__ . '/vendor/autoload.php';
```

Usage
-----

[](#usage)

```
use Parser\Parser\ParserHandleCsv;

$parser = new ParserHandleCsv($csv_file_path,'r+',true);
$headers = $parser->getHeader();
$rows = $parser->getRowsWithoutHeader();
$html_objects = $parser->exportAsTable('html','DESC');
$json_objects = $parser->exportAsTable('json','ASC');
```

Example
-------

[](#example)

Amazon EC2 display link .Use BankTransactions.csv supplied.

Requirements
------------

[](#requirements)

NumberFormatter::CURRENCY\_ACCOUNTING (int) Currency format for accounting, e.g., ($3.00) for negative currency amount instead of -$3.00. Available as of PHP 7.4.1 and ICU 53.

Uncomment line 68 in ParserEntity.php to use this feature if using PHP8.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

1821d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5397572?v=4)[800tiger](/maintainers/800tiger)[@800tiger](https://github.com/800tiger)

---

Tags

parsercsv

### Embed Badge

![Health badge](/badges/800tiger-parser/health.svg)

```
[![Health](https://phpackages.com/badges/800tiger-parser/health.svg)](https://phpackages.com/packages/800tiger-parser)
```

###  Alternatives

[faisalman/simple-excel-php

Easily parse / convert / write between Microsoft Excel XML / CSV / TSV / HTML / JSON / etc formats

582599.4k1](/packages/faisalman-simple-excel-php)[rodenastyle/stream-parser

PHP Multiformat Streaming Parser

443195.7k2](/packages/rodenastyle-stream-parser)[shuchkin/simplecsv

Parse and retrieve data from CSV files. Export data to CSV.

5192.4k](/packages/shuchkin-simplecsv)[csanquer/colibri-csv

Lightweight and performant CSV reader and writer library

16161.7k4](/packages/csanquer-colibri-csv)

PHPackages © 2026

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