Download the PHP package liopay/vietqr without Composer

On this page you can find all versions of the php package liopay/vietqr. 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 vietqr

VietQR

Latest Version PHP Version Total Downloads

English | Tiếng Việt

Production-ready PHP library for building and parsing VietQR (NAPAS FastFund 24/7 IBFT) QR codes compliant with EMVCo 1.5.2 specification.

Features

Installation

Quick Start

Build an Inter-Bank Fund Transfer QR Code

Parse a QR Code

Service Types

VietQR supports four service types:

1. QRIBFTTA - Inter-Bank Fund Transfer to Account

Peer-to-peer transfer to bank account.

2. QRIBFTTC - Inter-Bank Fund Transfer to Card

Peer-to-peer transfer to card number.

3. QRPUSH - Payment Service

Standard merchant payment QR codes.

4. QRCASH - ATM Cash Withdrawal

QR codes for ATM cash withdrawal. Note: Reference Label and Terminal Label are mandatory.

Specification Constants

Required Values

Data Object IDs (Root Level)

ID Name Required
00 Payload Format Indicator
01 Point of Initiation Optional
38 Merchant Account Information
52 Merchant Category Code
53 Transaction Currency
54 Transaction Amount Conditional
58 Country Code
59 Merchant Name
60 Merchant City
62 Additional Data Field Optional
63 CRC Checksum

Point of Initiation Values

TLV Encoding

VietQR uses TLV (Tag-Length-Value) encoding:

CRC Checksum

VietQR uses CRC16-CCITT False:

Validation

All builders perform automatic validation:

Exception Handling

Value Objects

Immutable, validated value objects for type safety:

Testing

Run the test suite:

Run PHPStan static analysis:

Check code style:

Fix code style:

Requirements

Specification Compliance

This library implements:

License

MIT License. See LICENSE for details.

Credits

Developed by Liopay

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and questions, please use the GitHub issue tracker.


All versions of vietqr with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 liopay/vietqr contains the following files

Loading the files please wait ...