Skip to content

Installation

  • PHP 8.2+

The library has no other runtime dependency: no extension, no framework.

Terminal window
composer require silarhi/cfonb-parser
Class Reads
Silarhi\Cfonb\Cfonb120Reader CFONB 120 bank statements (relevés de compte), into Statement
Silarhi\Cfonb\Cfonb240Reader CFONB 240 transfer files, into Transfer
Silarhi\Cfonb\CfonbReader Both formats, through the two readers above
Silarhi\Cfonb\CfonbCodes The labels of the CFONB operation codes
Silarhi\Cfonb\Exceptions\ParseException Thrown on a line the readers cannot parse

The readers are plain objects with no state: create them with new, or register them as services of your framework. Everything under Silarhi\Cfonb\Parser is internal.

Next: parse your first file.