Download the PHP package opencartbot/nbu-qr-v3 without Composer

On this page you can find all versions of the php package opencartbot/nbu-qr-v3. 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 nbu-qr-v3

NBU QR Code Generator v3

PHP бібліотека для генерації QR-кодів згідно зі стандартом Національного банку України версії формату 003.

Опис

Бібліотека дозволяє створювати QR-коди для кредитових та миттєвих кредитових переказів відповідно до документу НБУ "Правила формування, передачі та обробки структури даних і графічного зображення QR-коду для обміну реквізитами кредитових та миттєвих кредитових переказів".

Встановлення

Використання

Базове використання

Генерація QR-коду (SVG)

Параметри

Обов'язкові параметри

Параметр Тип Опис Максимальна довжина
recipient string Прізвище, ім'я, по батькові фізичної особи або найменування юридичної особи 140 символів
account string Номер рахунку отримувача (IBAN) 29 символів
recipient_code string Код отримувача коштів 10 символів
purpose string Призначення платежу 420 символів

Опціональні параметри

Параметр Тип Опис Значення за замовчуванням
function string Функція платежу (UCT/ICT/XCT) ICT
encoding string Кодування (1 - UTF-8, 2 - Win1251) 2
amount float Сума платежу null
currency string Валюта UAH
category string Категорія/ціль платежу ''
reference string Ідентифікатор рахунку на оплату ''
display string Додатковий текст для відображення ''
lock_mask string Маска заборони зміни полів (4 hex символи) ''
valid_until DateTime Дата/час дії рахунку null
created_at DateTime Дата/час створення null

Константи

Функції платежу

Кодування

Приклади використання

Комунальний платіж

P2P переказ

Оплата в магазині

Оплата в інтернет-магазині

Встановлення дат

Парсинг QR URL

Обробка помилок

Вимоги

Ліцензія

MIT License

Підтримка

При виникненні проблем або запитань створюйте Issue в репозиторії GitHub.

Додаткова інформація

Детальну інформацію про стандарт НБУ версії формату 003 можна знайти в офіційній документації Національного банку України:


All versions of nbu-qr-v3 with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
ext-mbstring Version *
chillerlan/php-qrcode Version ^4.3
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 opencartbot/nbu-qr-v3 contains the following files

Loading the files please wait ...