1.1.0
What's Changed
- Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in #4
- ✨ make it easier to render QR anywhere in your app by @atmonshi in #5
Render the QR Code.
you can render the QR code in any component that accept HTML using the QR Facade:
Qr::render(data:'dataOrUrl')
and it's accept these options:
?string $data = null,
?array $options = null,
string $statePath = 'url',
string $optionsStatePath = 'options',
bool $downloadable = true
Usage with Table and Infolist
to insert the QR code in any FilamentPHP table or infolist, it's better to be displayed in a popover or modal,
and you can use our plugin Popover:
PopoverEntry::make('name')
->trigger('click')
->placement('right')
->offset([0, 10])
->popOverMaxWidth('none')
->icon('heroicon-o-chevron-right')
->content(Qr::render(data:'dataOrUrl')),
Changes:
rename the function qrRender
to render
, only affect if you're using it manually
New Contributors
- @dependabot made their first contribution in #4
Full Changelog: 1.0.4...1.1.0