Older Version Documentation
You are viewing documentation for version 4.x. This version uses the older mutable API with getters/setters.
For the latest version with immutable architecture, see 5.x documentation or read the 5.0 Upgrade Guide.
Professional PHP library for parsing bank confirmation emails from Slovak and Czech banks.
composer require tomaj/bank-mails-parser ^4.0use Tomaj\BankMailsParser\Parser\TatraBanka\TatraBankaMailParser;
$parser = new TatraBankaMailParser();
$mailContent = $parser->parse($emailBody);
if ($mailContent) {
echo "Amount: " . $mailContent->getAmount() . "\n";
echo "VS: " . $mailContent->getVs() . "\n";
}