Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Skqrpayment

Skqrpayment Laravel Package

rikudou/skqrpayment

Laravel package for generating Slovak QR payment codes. Build payment strings with IBAN, amount, variable symbol, and recipient details, then render scannable QR codes for mobile banking apps. Simple, configurable, and easy to integrate.

View on GitHub
Deep Wiki
Context7

rikudou/skqrpayment is a PHP package for generating Slovak QR payment data using the PAY by square standard. It turns payment details such as IBAN, amount, currency, variable symbol, and payment note into a standardized payload that can be rendered as a QR code with your preferred QR library.

  • Simple, fluent API for composing payments
  • Validates required fields and payment values
  • Generates PAY by square-compatible payloads
  • Framework-agnostic and Composer-installable
  • Easy to integrate into Laravel or standalone PHP apps
Frequently asked questions about Skqrpayment
How do I install rikudou/skqrpayment in Laravel?
Install it with composer require rikudou/skqrpayment. The evaluation notes that no service provider is required for plain-PHP use, so you can call it directly or wrap it in your own Laravel service provider and interface. Check the README for the exact namespace and generation API before wiring it into your app.
What is Pay by Square and how is it different from Czech QR Platba?
Pay by Square, also called BySquare, is the Slovak banking standard for scannable payment codes. It is a binary format compressed with LZMA and encoded as Base32Hex. It is not the same as the Czech QR Platba or SPD text URI format, and the two are not interchangeable. In a dual-market SK/CZ product, mixing them up is the most likely integration failure.
Does rikudou/skqrpayment support Laravel 10, 11, or 12?
The provided overview does not document specific Laravel version support because this is a plain PHP utility rather than a Laravel-specific integration. Check the package's composer.json for its PHP floor and dependency constraints, especially any QR library it pulls in. Then confirm your Laravel version runs on a compatible PHP version. Do not assume Laravel 10, 11, or 12 support without verifying those constraints.
Does rikudou/skqrpayment require ext-lzma?
The evaluation flags this as an open question. BySquare requires LZMA compression, and ext-lzma is rarely enabled, so the package may bundle a pure-PHP implementation. Confirm that in composer.json or the README and benchmark time and memory for a typical payload. If cost is high, generate and cache the payload or image rather than doing it on every page load.
Can rikudou/skqrpayment generate a QR image or only a payment string?
The overview focuses on generating scannable payment strings, and QR image rendering is typically delegated to a separate QR library such as endroid/qr-code or bacon/bacon-qr-code. The evaluation notes that whether rendering is decoupled from payload generation determines how much of the library you must accept as-is. Check the README for image output support. Also watch for Composer version conflicts with any QR library your app already uses.
Does rikudou/skqrpayment validate IBAN, amount, variable symbol, and message charset?
The evaluation raises this as a key question and does not confirm that the package validates IBAN mod-97, amount precision, currency, variable or specific symbol length, or message charset. Treat validation as your responsibility at the domain boundary and add checks before calling the generator. Silent invalidity is the main risk: generation may succeed while a banking app rejects the scan. Log and monitor rejections so you can catch encoding or validation gaps.
How should I integrate rikudou/skqrpayment into a Laravel application architecture?
Put it behind a QrPaymentGenerator interface in your adapter layer. Let the domain own the payable order data such as IBAN, amount, currency, variable symbol, and message, then have the adapter wrap rikudou/skqrpayment to return a payload string or image. Render the QR in the presentation layer at checkout or on an invoice. Avoid calling the library directly from controllers or Blade templates so you do not inherit its data model and API surface.
Is rikudou/skqrpayment safe and production-ready?
Security risk is low because the library makes no network calls, handles no secrets, and does not deserialize untrusted input. The bigger production concerns are bus factor with a single maintainer and roughly 37 stars, limited real-world exercise with zero dependents, and possible spec drift from the Slovak banking community. Add your own test vectors, monitor bank acceptance, and have a fallback path if a generated code is rejected. Treat it as a peripheral serializer, not as critical payment infrastructure.
How do I test that generated Pay by Square QR codes are valid?
Use official BySquare test vectors if the repository provides them, and add snapshot or round-trip tests around your adapter. Because failures can be silent, also verify generated codes with real Slovak banking apps in a staging environment before release. The evaluation specifically asks whether the maintainer publishes test vectors, so check the repository and raise it if they are missing. Keep a known-good sample payload in your test suite to catch regressions.
What are the alternatives to rikudou/skqrpayment?
This package is a narrow serializer for Slovak BySquare, not a payment gateway or PSP integration. Alternatives include other BySquare libraries or implementing the payload yourself, though LZMA compression and Base32Hex encoding make that non-trivial. If you need Czech QR Platba, use an SPD text URI generator instead because the formats are not interchangeable. Evaluate the targeted BySquare spec version and maintenance activity before committing.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource