Skip to content

Extension points

phil/qr-code-bundle

The package is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may change them, and its CHANGELOG says how.

ToDo
Draw codes in PHP with the defaultsInject QrCodes: svg(), png(), dataUri(), encode(), label()
Draw a typed content the bundle has no array forPass a Phil\QrCode\Contract\Content of your own to QrCodes or qr_code()
Change the look of the componentStyle .phil-qr-code and .phil-qr-code__caption, or override @PhilQrCode/components/QrCode.html.twig
Serve codes elsewhereCall QrCodeUrls::url(), or write a controller of your own over QrCodes
Draw codes in another document formatRead QrCodes::encode() and drawing(), as PdfQrCodes does