silarhi/caf-parser

A CAF Parser for LA44ZZ file

Installs: 261

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/silarhi/caf-parser

3.0.0 2025-01-06 16:31 UTC

This package is auto-updated.

Last update: 2025-09-30 05:23:07 UTC


README

Build Status Latest Stable Version Total Downloads License

A PHP Parser for CAF file

Supports LA44ZZ file

Installation

The preferred method of installation is via Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:

composer require silarhi/caf-parser

How to use

Parse LA44ZZ

<?php

use Silarhi\Caf\Parser\PaymentSlipParser;

$parser = new PaymentSlipParser();

//Gets all statements day by day
$paymentSlip = $parser->parse('My Content');
foreach($paymentSlip->getLines() as $line) {
  assert($line instanceof \Silarhi\Caf\Model\PaymentSlipLine);
}