Download the PHP package thecnology/czeurqrcode without Composer

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

CzEurQrCode

thanks to Endroid QR Code for QR code generation

thanks to sunfoxcz/spayd-php for SPAYD payment request generation

thanks to rikudou/skqrpayment for Slovak Pay by Square generation

Popis

Balíček pro generování QR kódů s automatickou detekcí typu platby

Tento balíček vytváří QR kódy pro platby s inteligentní logikou:

Funkčnost

Balíček rozpozná správný formát na základě parametrů (currency, country, IBAN/účet) a podle toho vybere odpovídající standard:

Tabulka rozhodování

currency country IBAN účet+banka Výsledek
CZK – – ✓ SPAYD (CZ)
EUR SK ✓ – Pay by Square (SK)
EUR/jiné – / null ✓ – SEPA (EU)

Použití

Ideální pro aplikace, které potřebují podporovat české QR platby, slovenské Pay by Square i mezinárodní SEPA převody v jednom řešení. Balíček umožňuje snadné generování QR kódů pro různé platební standardy bez nutnosti psát vlastní logiku detekce.

Instalace

ℹ️ Pro slovenské Pay by Square platby je vyžadována binárka xz v systému (LZMA1 komprese).

  • Linux (Debian/Ubuntu): apt install xz-utils
  • macOS: brew install xz
  • Docker image v tomto repu už xz-utils obsahuje.

Instalace skrz Docker

Image obsahuje HTTP endpoint, který přijímá URL parametry a vrací PNG s QR kódem.

Docker URL příklady

CZ — Česká QR platba (SPAYD)

SK — Slovenská QR platba (Pay by Square)

Vyžaduje country=SK + IBAN. Bez country=SK by se vygenerovala SEPA.

EU — SEPA platba

Podporované URL parametry

Parametr Povinný Popis
amount ✓ Částka
currency ✓ CZK / EUR / USD
country – (jen pro SK) SK vynutí Pay by Square, CZ ponechá SPAYD
bankCode – (jen pro CZ) Kód banky (CZ)
accountNumber – (jen pro CZ) Číslo účtu (CZ)
iban – (povinný pro SK/EU) IBAN
swift – (pro SEPA) BIC/SWIFT kód
recipientName – (pro SEPA) Jméno příjemce
vs – Variabilní symbol
message – Zpráva (max 35 znaků)
size – Velikost QR (50–300 px)
label – Popisek pod QR kódem

Příklady použití

CZ — Česká QR platba (SPAYD)

Pro tuzemské CZK platby použij číslo účtu + kód banky. Knihovna vygeneruje SPAYD.

SK — Slovenská QR platba (Pay by Square)

Pro slovenské banky použij EUR + IBAN + parametr country: COUNTRY_SK. Bez country: 'SK' by se vygenerovala SEPA, kterou slovenské banky méně podporují.

EU — SEPA platba

Pro mezinárodní EUR / cizoměnové platby v rámci SEPA. Bez country parametru (nebo s country: null) se použije evropský standard.


All versions of czeurqrcode with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.0
sunfoxcz/spayd-php Version ^2.0
endroid/qr-code Version ^6.0
smhg/sepa-qr-data Version ^3.0
rikudou/skqrpayment Version ^4.2
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 thecnology/czeurqrcode contains the following files

Loading the files please wait ...