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. Learn More
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 a specific image region – 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.
- Recognize specified count of barcodes – This feature allows you to recognize specified count of barcodes on the Aspose Cloud Storage.
Installing the Aspose Cloud PHP SDK
You can download it using “Composer” from any of the following places:
- https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_PHP
- https://packagist.org/packages/aspose/cloud-sdk-php
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 = 'http://api.aspose.com/v1.1';
AsposeApp::$appSID = "XXXXXXXXXX";
AsposeApp::$appKey = "XXXXXXXXXX";
/**** End Section 1 ****/
/**** Section 2 ****/
$symbology = "Code39Standard";
$url = "http://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.