Skip to content

solitweb/laravel-dashboard-qr-code-tile

Repository files navigation

A QR code tile for Laravel Dashboard

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This tile displays a QR code.

This tile can be used on the Laravel Dashboard.

Installation

You can install the package via composer:

composer require solitweb/laravel-dashboard-qr-code-tile

In the dashboard config file, you must add this configuration in the tiles key.

// in config/dashboard.php

return [
    // ...
    'tiles' => [
        'qr_code' => [
            'codes' => [
                env('QR_CODE_WIFI'),
            ],
        ],
    ],
];

Usage

In your dashboard view you use the livewire:qr-code-tile component.

<x-dashboard>
    <livewire:qr-code-tile position="a1" title="Join our WiFi" :code="config('dashboard.tiles.qr_code.codes.0')" />
</x-dashboard>

Customizing the view

If you want to customize the view used to render this tile, run this command:

php artisan vendor:publish --provider="Solitweb\QRCodeTile\QRCodeTileServiceProvider" --tag="dashboard-qr-code-tile-views"

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published