This package includes a Barcode generator written in PHP for encoding and rendering most common barcode formats to multiple image output formats. Supports most common barcode formats (Code128, EAN, UPC,..).
Images (PNG/JPG/WEBP) may be configured to scale up to any size Supports common customization requirements (size, color, text display, font size, background color, font for image rendering, or format-specific options such as guard bars or quiet zones)
Barcodes::create('01234-5678', Format::CODE_11); This package has a lot of options and code examples.