boitebeet / nova-qrcode-field
Nova QR code field
1.0.0
2020-10-15 18:06 UTC
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-11-16 04:27:47 UTC
README
A Laravel Nova field to generate QR Code.
Installation
You can install the Nova field in to a Laravel app that uses Nova via composer :
composer require boitebeet/nova-qrcode-field
Usage
Basic
Qrcode::make('QR Code') ->text('http://laravel.com')
Setting sizes
Qrcode::make('QR Code') ->text('http://laravel.com') ->indexSize(100) ->detailSize(500)
With logo
Qrcode::make('QR Code') ->text('http://laravel.com') ->logo('http://source.to/logo.png')
With background
Qrcode::make('QR Code') ->text('http://laravel.com') ->background('http://source.to/background.png')
With logo & background
Qrcode::make('QR Code') ->text('http://laravel.com') ->logo('http://source.to/logo.png') ->background('http://source.to/background.png')
Related
Credits
License
The MIT License (MIT).