PHPackages                             midassoft/dominicanbankparser - 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. midassoft/dominicanbankparser

ActiveLibrary

midassoft/dominicanbankparser
=============================

Dominican Bank parser

v1.0.3(7y ago)27MITPHPPHP &gt;=7.1.3

Since Oct 22Pushed 7y ago4 watchersCompare

[ Source](https://github.com/midassoft/dominicanbankparser)[ Packagist](https://packagist.org/packages/midassoft/dominicanbankparser)[ RSS](/packages/midassoft-dominicanbankparser/feed)WikiDiscussions master Synced today

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

About Dominican Bank Parser
===========================

[](#about-dominican-bank-parser)

This package allows you to parse files from the major dominican Bank entities.

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/8ad18b9c03a2706e3f7f12bfaaf635731fdd61b571b29014b3dbea42c044b21e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d69646173736f66742f646f6d696e6963616e62616e6b7061727365722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/midassoft/dominicanbankparser/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/5b8bab1313355a4be6baa5a0c8b4f8ed56732122bae9a5fc7062c893965bc1e3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d69646173736f66742f646f6d696e6963616e62616e6b7061727365722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/midassoft/dominicanbankparser/?branch=master)[![Build Status](https://camo.githubusercontent.com/3a74d0fb4a52a17bc56abd653be119d2a7d0855d01c43359e68182b4c90c7ba9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d69646173736f66742f646f6d696e6963616e62616e6b7061727365722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/midassoft/dominicanbankparser/build-status/master)[![Build Status](https://camo.githubusercontent.com/1163dcf1aad2f6d9e516f9e03845e595aaf5330c770478bee426c3bd56ca6315/68747470733a2f2f7472617669732d63692e6f72672f6d69646173736f66742f646f6d696e6963616e62616e6b7061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/midassoft/dominicanbankparser)[![StyleCI](https://camo.githubusercontent.com/73fdb7952242c91f1ee1915b511e2a94eb426da231ef4bdb1981485799058d3f/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3135303631333935362f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/150613956)

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

[](#requirements)

```
PHP ^7.1.3

```

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

[](#installation)

```
composer require "midassoft/dominicanbankparser"

```

Usage
-----

[](#usage)

Just select the parser you want to use and call the parse method with the file content.

```
use MidasSoft\DominicanBankParser\Files\CSV;
use MidasSoft\DominicanBankParser\Parsers\BHDBankParser;

$parser = new BHDBankParser();
$file = file_get_contents(__DIR__.'/bhd_bank_file.csv');
$result = $parser->parse(new CSV($file));
```

This will return a [collection](https://laravel.com/docs/5.7/collections) of `Deposit` objects.

```
object(MidasSoft\DominicanBankParser\Collections\DepositCollection)#302 (1) {
  ["items":protected]=>
  array(91) {
    [0]=>
    object(MidasSoft\DominicanBankParser\Deposit)#23 (4) {
      ["amount":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(7) "4000.00"
      ["date":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(10) "19/12/2017"
      ["description":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(15) "DEPOSITO:3228-4"
      ["term":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(15) "DEPOSITO:3228-4"
    }
    [1]=>
    object(MidasSoft\DominicanBankParser\Deposit)#24 (4) {
      ["amount":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(8) "11805.00"
      ["date":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(10) "19/12/2017"
      ["description":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(19) "DEPOSITO:6051-7/195"
      ["term":"MidasSoft\DominicanBankParser\Deposit":private]=>
      string(19) "DEPOSITO:6051-7/195"
    }
  }
}

```

You can especify a cache manager in your parser if you want your data to persist , every parse will be automatically cached.

```
use MidasSoft\DominicanBankParser\Files\CSV;
use MidasSoft\DominicanBankParser\Parsers\BHDBankParser;

$parser = new BHDBankParser(new FileCacheDriver([
    'path' => __DIR__.'/cache',
    'timezone' => 'America/Santo_Domingo',
]));

$file = file_get_contents(__DIR__.'/bhd_bank_file.csv');
$result = $parser->parse(new CSV($file));
$cacheKeys = $parser->getCacheManager()->getKeys();
$parsedFromCache = $parser->getCacheManager()->get(end($cacheKeys));
```

There's two cache driver available `ArrayCacheDriver` and `FileCacheDriver`. When you use the `FileCacheDriver` you need to specify the `path` and `timezone` within your configuration.

Also you can write your own parsers by extending the `MidasSoft\DominicanBankParser\Parsers\AbstractParser` class, and your own cache drivers by extending `MidasSoft\DominicanBankParser\Cache\AbstractCacheDriver`.

Supported banks
---------------

[](#supported-banks)

- BHD
- Popular
- Reservas
- Santa Cruz

###  Health Score

27

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 87% 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 ~1 days

Total

4

Last Release

2704d ago

PHP version history (2 changes)v1.0PHP ^5.6 || ^7.0

v1.0.1PHP &gt;=7.1.3

### Community

Maintainers

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

---

Top Contributors

[![maxalmonte14](https://avatars.githubusercontent.com/u/12385704?v=4)](https://github.com/maxalmonte14 "maxalmonte14 (40 commits)")[![yabafinet](https://avatars.githubusercontent.com/u/2982030?v=4)](https://github.com/yabafinet "yabafinet (5 commits)")[![jsuarezwd](https://avatars.githubusercontent.com/u/6003548?v=4)](https://github.com/jsuarezwd "jsuarezwd (1 commits)")

---

Tags

financebank parserdominican

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/midassoft-dominicanbankparser/health.svg)

```
[![Health](https://phpackages.com/badges/midassoft-dominicanbankparser/health.svg)](https://phpackages.com/packages/midassoft-dominicanbankparser)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.5k69.2k](/packages/grumpydictator-firefly-iii)[ronanguilloux/isocodes

PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Book and Music Industries, Phone numbers &amp; Zipcodes for many countries

8103.3M23](/packages/ronanguilloux-isocodes)[torann/currency

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.

4071.0M4](/packages/torann-currency)[scheb/yahoo-finance-api

PHP library for accessing Yahoo Finance data

317197.9k5](/packages/scheb-yahoo-finance-api)[abcaeffchen/sephpa

Generates SEPA files for credit transfers (pain.001.001.03, pain.001.002.03, pain.001.003.03, pain.001.001.09) and direct debit (pain.008.001.02, pain.008.002.02, pain.008.003.02, pain.008.001.08)

711.7M](/packages/abcaeffchen-sephpa)[bunq/sdk_php

bunq PHP SDK

88217.9k2](/packages/bunq-sdk-php)

PHPackages © 2026

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