PHP code example of szonov / sberbank-pdf-account-statement
1. Go to this page and download the library: Download szonov/sberbank-pdf-account-statement library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
szonov / sberbank-pdf-account-statement example snippets
use SZonov\Sberbank\PdfAccountStatement\Statement;
$statement = new Statement(__DIR__ . '/выписка.pdf');
echo "АККАУНТ: {$statement->account}\n";
echo "СТАТИСТИКА:\n";
print_r($statement->statistic->toArray());
echo "ПЛАТЕЖИ:\n";
print_r($statement->payments);