Download the PHP package vs-point/rb-premium without Composer

On this page you can find all versions of the php package vs-point/rb-premium. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rb-premium

vs-point/rb-premium

PHP knihovna pro komunikaci s Raiffeisenbank Premium API. Typovaný interface pro bankovní účty, transakce, platební dávky, výpisy a devizové kurzy.

Instalace

Konfigurace

Autentizace probíhá přes mTLS (klientský certifikát) + hlavičku X-IBM-Client-Id.

Převod PKCS#12 (.p12) na PEM

Knihovna očekává certifikát ve formátu PEM. Pokud máš od banky soubor .p12, převeď ho pomocí openssl:

Přepínač -nodes znamená, že privátní klíč nebude v PEM zašifrovaný (no DES). Pro produkci lze klíč ponechat zašifrovaný — pak je -nodes vynechat a heslo předat přes certPassword:

Certifikát a klíč lze také rozdělit do dvou souborů (parametry certPath + keyPath):

Inline certifikát (PEM string)

Pokud certifikát nepochází ze souboru na disku — například je uložený v secret manageru, proměnné prostředí nebo databázi — použij RBPremiumInlineConfig. Certifikát se předá jako PEM string přímo do curlu přes CURLOPT_SSLCERT_BLOB, žádný dočasný soubor se nezapisuje.

CURLOPT_SSLCERT_BLOB vyžaduje curl ≥ 7.71 a PHP ≥ 8.1. Obě podmínky splňuje jakákoliv aktuální instalace PHP 8.2+.

Přímé použití .p12 souboru

PHP umí PKCS#12 načíst nativně bez jakékoliv knihovny přes openssl_pkcs12_read():

Omezení openssl_pkcs12_read(): Funkce má problémy s certifikáty šifrovanými legacy algoritmy (RC2, 3DES), které jsou časté u starších Windows exportů. Na serverech s OpenSSL ≥ 3.x takový soubor selže s chybou bez dalšího vysvětlení. V takovém případě proveď jednorázovou konverzi přes openssl příkazový řádek (viz sekce výše) a výsledný PEM ulož mimo disk (secret manager, env var).

Integrace se Symfony DI

Použití

Bankovní účty

Transakce

Platební dávky

Výpisy

Devizové kurzy

Přehled endpointů

Service Metoda Endpoint
accounts list(?AccountQuery) GET /accounts
accounts balance(accountNumber) GET /accounts/{accountNumber}/balance
transactions list(accountNumber, Currency, TransactionQuery) GET /accounts/{accountNumber}/{currencyCode}/transactions
payments importBatch(...) POST /payments/batches
payments getBatch(batchFileId) GET /payments/batches/{batchFileId}
statements list(StatementListPayload) POST /accounts/statements
statements download(StatementDownloadPayload) POST /accounts/statements/download
fxRates list(?LocalDate) GET /fxrates
fxRates get(Currency, ?LocalDate) GET /fxrates/{currencyCode}

All versions of rb-premium with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
symfony/serializer Version ^6.4|^7.0|^8.0
symfony/property-access Version ^6.4|^7.0|^8.0
symfony/property-info Version ^6.4|^7.0|^8.0
phpdocumentor/reflection-docblock Version ^5.4
brick/math Version ^0.12.0
brick/date-time Version ^0.7.0
brick/money Version ^0.10.0
guzzlehttp/guzzle Version ^7.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vs-point/rb-premium contains the following files

Loading the files please wait ...