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
20 Twig And Public Assets
20 Twig And Public Assets
nowo-tech/wallet-qr-bundle
cursor
symfony
php
mobile
android
ios
wallet
google-wallet
symfony-bundle
qr-code
frankenphp
apple-wallet

Twig integration and public assets

Install
php artisan boost:add-skill nowo-tech/wallet-qr-bundle

Save this content to: .cursor/rules/20-twig-and-public-assets.mdc

This bundle ships no Twig templates and no public assets: it only exposes the Twig functions
`wallet_qr_data_uri()` and `wallet_qr_for_url()` from `src/Twig/WalletQrExtension.php`.
Templates live in the host application (and in `demo/*/templates` for the demos).

Prefer:
- small, backward-compatible changes to the Twig function names and signatures
- returning data (URLs, data URIs, value objects) and letting Twig auto-escape the HTML context
- keeping `wallet_qr_for_url()` behind the nowo_qr_code URL policy / allowlist

Do not mark untrusted strings as `is_safe`.
Do not add templates or `src/Resources/public` assets without updating README, docs and these rules.

This bundle ships no Twig templates and no public assets: it only exposes the Twig functions wallet_qr_data_uri() and wallet_qr_for_url() from src/Twig/WalletQrExtension.php. Templates live in the host application (and in demo/*/templates for the demos).

Prefer:

  • small, backward-compatible changes to the Twig function names and signatures
  • returning data (URLs, data URIs, value objects) and letting Twig auto-escape the HTML context
  • keeping wallet_qr_for_url() behind the nowo_qr_code URL policy / allowlist

Do not mark untrusted strings as is_safe. Do not add templates or src/Resources/public assets without updating README, docs and these rules.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource