Aspose.BarCode for PHP via Java is a set of barcode generation and reading APIs for PHP applications and scripts. Developers can easily read 1D, 2D and postal barcodes from images at different angles. Barcode generator API creates barcode images within various formats such as JPG, PNG, GIF, BMP. Moreover, It supports multiple imaging features like manipulating borders, color, rotating images, customizing resolution and a lot more.
At a Glance
An overview of the barcode recognition & generation capabilities of API.
- Linear and 2D Types
- Get Orientation of Barcode
- Decode Non-English Characters
- Linear and 2D Barcode
- Customize Label
- Encode Non-English Characters
Aspose.Barcode for PHP via Java requires PHP 5.3 (or above) and JavaBridge. It can run on any platform where these requirements can be met.
Supported File Formats
API works with the most commonly used image formats.
Advanced PHP Barcode API Features
QR Code Generation
API has the capability to create barcodes of multiple types including DataMatrix, Aztec, Pdf417, multiple MacroPdf417 barcodes for large or multiple code text values. Here is the code for QR code generation.
PHP QR Code Generator
//Instantiate barcode object $builder = new BarCodeBuilder(); $symbology=new Symbology(); $builder->setSymbologyType($symbology->QR); $builder->setCodeText("1234567890"); // Hide code text $codeLocation=new CodeLocation(); $builder->setCodeLocation($codeLocation->None); $builder->setRotationAngleF(90); // Save the image to your system and set its image format to Jpeg $builder->save($dataDir . "CreatingQRBarcode.jpg"); // Display or echo Status
Aspose.BarCode offers individual Barcode generation and recognition APIs for other popular development environments as listed below: