Creating a QR Barcode in PHP

Aspose.BarCode - Creating a QR Barcode

To Create a QR Barcode using Aspose.Barcode Java for PHP, simply invoke CreatingQRBarcode module. Here you can see example code.


 # Instantiate barcode object

$builder = new BarCodeBuilder();

$symbology=new Symbology();



\# Hide code text

$codeLocation=new CodeLocation();



\# Save the image to your system and set its image format to Jpeg

$builder->save($dataDir . "CreatingQRBarcode.jpg");

\# Display Status

print "Created QR Barcode Successfully.".PHP_EOL;

Download Running Code

Download Creating a QR Barcode (Aspose.BarCode) from any of the below mentioned social coding sites: