linderp/sulu-swiss-qr-bill-bundle

Swiss QR Bill generator for Sulu CMS

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/linderp/sulu-swiss-qr-bill-bundle

0.1 2026-01-12 21:10 UTC

This package is auto-updated.

Last update: 2026-01-13 21:58:59 UTC


README

Sulu bundle that integrates swiss qr bill generation for saved contacts. Implementation of the php package schoero/swissqrbill

Installation

This bundle requires PHP 8.2 and Sulu 2.6

  1. Open a command console, enter your project directory and run:
composer require linderp/sulu-swiss-qr-bill-bundle

If you're not using Symfony Flex, you'll also need to add the bundle in your config/bundles.php file:

return [
    //...
    Linderp\SuluSwissQRBillBundle\SuluSwissQRBillBundle::class => ['all' => true],
];
  1. Register the new routes by adding the following to your routes_admin.yaml:
SuluIndexNowBundle:
    resource: "@SuluSwissQRBillBundle/Resources/config/routes_admin.yml"
  1. Add the file config/packages/sulu_swiss_qr_bill.yaml with the following configuration and replace #your key here with your actual key:
sulu_swiss_qr_bill:
  iban: 'CH5604835012345678009'
  name: 'Example'
  street: 'Nowherestreet 23'
  postalCode: 9999
  city: 'Somewhere'
  1. Reference the frontend code by adding the following to your assets/admin/package.json:
"dependencies": {
    "sulu-swiss-qr-bill-bundle": "file:../../vendor/linderp/sulu-swiss-qr-bill-bundle/src/Resources/js"
}
  1. Import the frontend code by adding the following to your assets/admin/app.js:
import "sulu-swiss-qr-bill-bundle";
  1. Build the admin UI:
cd assets/admin
npm run build