PHP code example of designthebox / barcode-field
1. Go to this page and download the library: Download designthebox/barcode-field library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
designthebox / barcode-field example snippets
use DesignTheBox\BarcodeField\Forms\Components\BarcodeInput;
// In your form definition
BarcodeInput::make('barcode')
->icon('heroicon-o-arrow-right') // Specify your Heroicon name here
->
php artisan vendor:publish --tag=barcode-scanner-assets