linderp/sulu-swiss-qr-bill-bundle

Swiss QR Bill generator for Sulu CMS

Installs: 10

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-12 21:11:56 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_index_now:
    key: #your key here
    search_engines:
        IndexNow: 'https://api.indexnow.org/indexnow'
        Amazon: 'https://indexnow.amazonbot.amazon/indexnow'
        Bing: 'https://www.bing.com/indexnow'
        Naver: 'https://searchadvisor.naver.com/indexnow'
        Seznam: 'https://search.seznam.cz/indexnow'
        Yandex: 'https://yandex.com/indexnow'
        Yep: 'https://indexnow.yep.com/indexnow'
  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