devtical / nova-qrcode-field

A Laravel Nova field to generate QR Code

Home Page:https://packagist.org/packages/devtical/nova-qrcode-field

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nova QR Code

A Laravel Nova field to generate QR Code.

Logo & background

Installation

You can install the Nova field in to a Laravel app that uses Nova via composer :

composer require devtical/nova-qrcode-field

Usage

use Devtical\Qrcode\Qrcode;

Basic

Qrcode::make('QR Code', 'field')

Setting sizes

Qrcode::make('QR Code', 'field')
    ->indexSize(100)
    ->detailSize(500)

Size

With logo

Qrcode::make('QR Code', 'field')
    ->logo('http://source.to/logo.png')

Logo

With background

Qrcode::make('QR Code', 'field')
    ->background('http://source.to/background.png')

Background

With logo & background

Qrcode::make('QR Code', 'field')
    ->logo('http://source.to/logo.png')
    ->background('http://source.to/background.png')

Logo & background

Related

Credits

License

The MIT License (MIT).

About

A Laravel Nova field to generate QR Code

https://packagist.org/packages/devtical/nova-qrcode-field

License:MIT License


Languages

Language:PHP 50.6%Language:Vue 25.8%Language:JavaScript 23.7%