A PHP Parser for CAF file
Supports LA44ZZ file
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
<?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);
}