Aspose.BarCode for Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more. You can use it with any platform — web, desktop, mobile, and cloud.
Aspose.BarCode for Cloud allows developers to quickly and easily add barcode generation and recognition functionality to their applications. For further details, please visit Product Features.
New BarCode Features in the Aspose Cloud PHP SDK
We have implemented the following functions to the Aspose Cloud PHP SDK:
- Read barcode from external image URL - This feature allows you to read barcode from external image URL.
- Read Barcode from Specific Region of Image - This feature allows you to read barcode from specific region of image on the Aspose Cloud Storage.
- Recognize barcode with checksum option from storage - This feature allows you to read barcode with checksum option on the Aspose Cloud Storage.
- Recognition Speed and Quality Options and Presets - QualitySettings that is used to enable and disable various algorithms to read barcodes with damages or artifacts.
Installing the Aspose Cloud PHP SDK
You can download it using “Composer” from any of the following places:
Usage Examples
Read Barcode from External Image URL
use Aspose\Cloud\Common\AsposeApp;
use Aspose\Cloud\Common\Product;
use Aspose\Cloud\Barcode\BarcodeReader;
/**** Section 1 ****/
Product::$baseProductUri = 'https://api.aspose.com/v1.1';
AsposeApp::$appSID = "XXXXXXXXXX";
AsposeApp::$appKey = "XXXXXXXXXX";
/**** End Section 1 ****/
/**** Section 2 ****/
$symbology = "Code39Standard";
$url = "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/Code_3_of_9.svg/262px-Code_3_of_9.svg.png";
$barcode = new BarcodeReader("barcode.jpg");
$result = $barcode->readFromURL($url, $symbology);
/**** End Section 2 ****/
Start a Free Trial Today
Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.