NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #2169 most downloaded on Packagist
A PHP library to create Swiss QR bills
Latest stable
v5.3.1
Last release 1 months ago
29 Sep 2026
Release timing varies
gaps range from 2 weeks to 9 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
77 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Added RfCreditorReferenceGenerator to create references for SCOR qr bills right within this library (#71). See example_scor.php for how to use it.
RfCreditorReferenceGenerator to create references for SCOR qr bills right within this library (#71).
See example_scor.php for how to use it.Kudos!
Country codes for CH and FL are now hidden on payment parts
CH and FL are now hidden on payment parts (#69)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Drastically reduced file size of qr codes in png format
Good to know:
Added FpdfOutput, so you can now use the popular Fpdf library to create qr bills (#59, #63)
FpdfOutput, so you can now use the popular Fpdf library to create qr bills (#59, #63)Good to know:
TcPdfOutput are now solid and no longer dashed. This is to be consistent with the examples provided in the official style guide. (#64)Kudos!
FpdfOutput!Changed linebreak to use LF only instead of CR+LF, resulting in smaller file sizes
Added TcPdfOutput, so now you can create pdfs directly from this library
TcPdfOutput, so now you can create pdfs directly from this library (#53)Kudos!
TcPdfOutput and agreed to have it merged into this library.Fixed an issue with the swiss cross not appearing when the qr code was placed in a pdf
Good to know:
QrBill::SWISS_CROSS_LOGO_FILE is no longer publicly accessible. It was never supposed to be.Kudos!
Added validation to enforce only valid combinations between CreditorInformation and PaymentReference (see #15)
CreditorInformation and PaymentReference (see #15)Nothing published for this version
Major refactoring with bc breaks has taken place. Therefore, this will be treated as a v2 release from now on. No stable v1 will be released.
Major refactoring with bc breaks has taken place. Therefore, this will be treated as a v2 release from now on. No stable v1 will be released.
Sprain\SwissQrBill\DataGroups is now Sprain\SwissQrBill\DataGroup\Element for data group content elements.QrCodeData is now called QrCodeableInterface.svg as well as png.Have a look at doc/example.php to get a better sense of the changes.
Reference qr codes based on Implementation Guidelines v2.0 have been tested with the official validator
First release based on Implementation Guidelines v2.0
Heads up: Due to a technical problem in the official validation tool, the correctness of the created reference codes could not be verified before the release of this version. See #10.
The last release to be based on Implementation Guidelines v1.0.
Remove quiet zone from qr code image
Allow payment amount and payment due date to be null
Full support for alternative schemes (as much as they are already known)
Create valid Swiss QR bill codes
One column per quarter.