Browse our Products Toggle navigation
If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.
Aspose.BarCode for PHP via Java 24.7 helps developers encode and decode Code39 and Code93 barcodes seamlessly with a single API for effortless integration within your PHP projects.
The latest PHP barcode API release enables you to generate colorful barcodes in SVG format with precise color customization using RGB, RGBA, HSL, and HSLA options. Check out the following code examples to learn how to use these color modes in PHP.
public void example1() throws IOException { String codeText = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; BarcodeGenerator generator = new Generation.BarcodeGenerator(EncodeTypes.CODE_128, codeText); Color color = new Color(0xBBFF5511); generator.getParameters().getBarcode().setBarColor(color); generator.getParameters().getImage().getSvg().setSvgColorMode(SvgColorMode.HSLA); generator.save(folder + "Hsla.svg"); }
Source*
function example2() { $folder = testdata_root . "release_24_7/"; $codeText = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $generator = new BarcodeGenerator(EncodeTypes::CODE_128, $codeText); $hslaColor = new HslaColor(30, 50, 70, 0.8); $color = HslaColor::convertHslaToRgba($hslaColor); $generator->getParameters()->getBarcode()->setBarColor($color); $generator->getParameters()->getImage()->getSvg()->setSvgColorMode(SvgColorMode::HSLA); $generator->save($folder . "Hsla_from_hsla.svg", BarCodeImageFormat::PNG); }
Benefit from a more consistent and intuitive API for barcode processing in PHP environments. Build high-performance applications boasting advanced barcode reading, recognition, and generation features using the latest PHP library release.
You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.BarCode for PHP via Java 24.7 Release Notes.