An open API service indexing awesome lists of open source software.

https://github.com/silarhi/caf-parser

A PHP parser for French CAF (Caisse d'Allocations Familiales) files.
https://github.com/silarhi/caf-parser

caf caf-parser la44zz parser php

Last synced: 2 months ago
JSON representation

A PHP parser for French CAF (Caisse d'Allocations Familiales) files.

Awesome Lists containing this project

README

          

# caf-parser

![Build Status](https://github.com/silarhi/caf-parser/actions/workflows/continuous-integration.yml/badge.svg)
[![Latest Stable Version](https://poser.pugx.org/silarhi/caf-parser/v/stable)](https://packagist.org/packages/silarhi/caf-parser)
[![Total Downloads](https://poser.pugx.org/silarhi/caf-parser/downloads)](https://packagist.org/packages/silarhi/caf-parser)
[![License](https://poser.pugx.org/silarhi/caf-parser/license)](https://packagist.org/packages/silarhi/caf-parser)

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`:

```bash
composer require silarhi/caf-parser
```

## How to use

### Parse LA44ZZ

```php
parse('My Content');
foreach($paymentSlip->getLines() as $line) {
assert($line instanceof \Silarhi\Caf\Model\PaymentSlipLine);
}
```

[composer]: http://getcomposer.org/