laravel-rust-barcode

Encode linear and matrix barcodes and render them as SVG, HTML or images. Community package, not affiliated with Laravel.

Linear symbologies

PHP typeRust variantSymbology
C39, C39+Linear::Code39, Linear::Code39CheckCode 39, optionally with a modulo 43 check character
C39E, C39E+Linear::Code39Full, Linear::Code39FullCheckCode 39 Full ASCII, optionally with a check character
S25, S25+Linear::Industrial25, Linear::Industrial25CheckIndustrial 2 of 5, optionally with a check digit
I25, I25+Linear::Interleaved25, Linear::Interleaved25CheckInterleaved 2 of 5, optionally with a check digit
MSI, MSI+Linear::Msi, Linear::MsiCheckMSI Plessey, optionally with a check digit
C93Linear::Code93Code 93 Full ASCII
CODABARLinear::CodabarCodabar
EAN2, EAN5Linear::Ean2, Linear::Ean5Retail add-ons
EAN8, EAN13, UPCA, UPCELinear::Ean8, Linear::Ean13, Linear::UpcA, Linear::UpcERetail symbols
CODE11Linear::Code11Code 11 with one or two check characters
POSTNET, PLANETLinear::Postnet, Linear::PlanetUSPS postal barcodes
RMS4CC, KIXLinear::Rm4scc, Linear::KixRoyal Mail and PostNL postal barcodes
PHARMA, PHARMA2TLinear::Pharma, Linear::PharmaTwoTrackPharmacode
C128, C128A, C128B, C128C, GS1-128Linear::Code128, Linear::Code128A, Linear::Code128B, Linear::Code128C, Linear::Gs1128Code 128 and GS1-128
IMBLinear::ImbUSPS Intelligent Mail Barcode

QR Code

The core also generates QR Code Model 2 at levels L, M, Q and H. See getting started.

Data Matrix

The core generates square Data Matrix ECC 200 symbols. See getting started.

PDF417

Use Pdf417Options for PDF417 and Macro PDF417 symbols with segment metadata.