ae-soft/client-bank-exchange-php

This package is abandoned and no longer maintained. The author suggests using the darkeum/client-bank-exchange-php package instead.

Парсер банковский выписки в формате 1С PHP

v1.0.4 2022-09-19 06:10 UTC

This package is auto-updated.

Last update: 2022-09-19 06:13:22 UTC


README

Парсер формата обмена данными 1CClientBankExchange (версии 1.03)

Основан на репозитории https://github.com/kilylabs/client-bank-exchange-php

Установка

Рекомендуемый способ установки через Composer:

$ composer require ae-soft/client-bank-exchange-php

Использование

Пример кода

<?php

use Darkeum\ClientBankExchange\Parser;

require('vendor/autoload.php');

$p = new Parser('tests/resources/huge.txt');
var_dump($p->general); // general info
var_dump($p->filter); // selection settings
var_dump($p->remainings); // to see bank account remainings
foreach($p->documents as $d) {
    echo $d['type'], " => "; // document type
    echo $d->{'Номер'}; // some fields
    echo "\n";
}