PHP code example of greksazoo / unicredit-transfer-import-generator-hu
1. Go to this page and download the library: Download greksazoo/unicredit-transfer-import-generator-hu 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/ */
greksazoo / unicredit-transfer-import-generator-hu example snippets
$uni = new UnicreditHuGenerator();
$data=[
'currency' => 'HUF',
'account_number' => '11112222-33334444-00000000',
],
[
[
'partner_name'=>'TesztPartner1',
'account_number' => '11112222-00000099',
'date'=>'2022-02-02',
'amount'=>'200010',
'notice'=>'ez egy hosszabb kozlemeny is lehet'
],
[
'partner_name'=>'TesztPartner2',
'account_number' => '11112299-33334444-00000002',
'amount'=>'3000100',
'notice'=>'ez egy hosszabb kozlemeny is lehet'
],
];
$filenev = $uni->generateFile($data);
return Storage::download($filenev,'data.pay');
$uni = new UnicreditHuGenerator();
$data= [
'currency' => 'HUF',
'account_number' => '11112222-33334444-00000000',
],
[
[
'partner_name'=>'TesztPartner1',
'account_number' => '11112222-00000099',
'date'=>'2022-02-02',
'amount'=>'200010',
'notice'=>'ez egy hosszabb kozlemeny is lehet'
],
[
'partner_name'=>'TesztPartner2',
'account_number' => '11112299-33334444-00000002',
'amount'=>'3000100',
'notice'=>'ez egy hosszabb kozlemeny is lehet'
],
];
$text = $uni->generateText($data);