Generate, Recognize, Transform Barcodes in PHP Application

Implement Linear, 2D and postal barcode generation, customization and recognition in multiple image formats on any platform including Amazon S3, Google Cloud, Drive and DropBox.

  Start Free Trial
Aspose.BarCode Cloud SDK for PHP

Aspose.BarCode Cloud SDK for PHP

 
 

Get Started with Barcode Processing SDK

It is easy to get started with Aspose.BarCode Cloud SDK for PHP and there is nothing to install. Simply create an account at Aspose for Cloud and get your application information. Once you have the App SID & KEY, you are ready to give the Aspose.BarCode Cloud SDK for PHP a try on any supported platform.

The SDK is developed on top of our award winning Cloud REST API and it provides the capabilities for Linear, 2D and postal Barcode generation and recognition in the cloud. The SDK recognizes and generates barcode images in variety of formats. Aspose.BarCode Cloud SDK for PHP allows you to specify Barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the Barcode type and text attributes such as text location and font styles in order to suit the application requirements.

 

Advanced Barcode processing Features

 

 

Create & save Barcode to image file

 

Recognize Barcode from image file

 

Enhance your application workflow by adding barcode functionality

 

Embed in documents to aid traceability

 

Use the recognition functions to drive your real-life work processes

 

Specify barcode image settings

 

Set text attributes

 

Encode & decode non-english characters in 2D barcodes

 

PHP Cloud SDK for PHP 5.6 or higher

 

Control Barcode size

 

Add recognition to promote 3rd party services

 

Optimized Code128 encoding

Advanced Barcode Generation & Recognition

A Barcode is an optical representation of data, which can be read by a machine where it represents information about the item or product it is attached to and helps to quickly read information using a Barcode reader. The Barcode is represented by parallel lines, geometric patterns or symbols and Aspose.Barcode Cloud SDK for PHP is suitable to Generate Barcode images from scratch and to Recognize any existing Barcodes from image files. In fact Aspose.Barcode Cloud SDK for PHP contains all of these characteristics and provides reliable and accurate results both for Barcode generation and recognition.

Read Barcode from Specific Region of Image - PHP


// Instantiate Aspose Storage Cloud instance
$storageApi = new StorageApi ();
// Instantiate Aspose BarCode Cloud SDK instance
$barcodeApi = new BarcodeApi ();
// upload file to aspose cloud storage
$result = $storageApi->PutCreate ( "sample-barcode.jpeg", "", "", $data_folder . "sample-barcode.jpeg");
	
// invoke Aspose.BarCode Cloud SDK to read barcode with specific region of image
$response = $barcodeApi->GetBarcodeRecognize ( "sample-barcode.jpeg", $type, $checksumValidation, $stripFnc, $rotationAngle, $barcodesCount, 10, 10, 200, 200, "", "");
	
if ($response != null && $response->Status = "OK") {
    print_r ( $response->Barcode );

Supported Barcode Symbologies

A symbology represents a relationship between the message and the Barcode and it provides all the information to encode and decode a message in the form of a Barcode. Aspose.BarCode Cloud SDK for PHP supports large number of linear, 1D, 2D and Postal Barcode symbologies, and each symbology is a type of Barcode language. Please note that Aspose.Barcode Cloud SDK for PHP supports more than 40 Barcode symbologies and given below is the list of currently supported symbologies:

  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • UPCE (Encode, decode)
  • BooklandEAN (Encode, decode)
  • Interleaved2of5 (Encode, decode)
  • Standard2of5 (SCC14) (Encode, decode)
  • MSI (Encode, decode)
  • Code11 (Encode, decode)
  • Codabar (Encode, decode)
  • EAN14(SCC14) (Encode, decode)
  • SSCC18 (Encode, decode)
  • ITF14 (Encode, decode)
  • Matrix 2 of 5 Standard (Encode, decode)
  • PZN (Encode, decode)
  • EAN13 (Encode, decode)
  • Code128 Standard (Encode, decode)
  • EAN128 (Encode, decode)
  • Code39 Extended (Encode, decode)
  • Code39 Standard (Encode, decode)
  • Code93 Extended (Encode, decode)
  • Code93 Standard (Encode, decode)
  • IATA 2 of 5 (Encode, decode)
  • OPC (Encode, decode)

Supported 2D Barcode Symbologies

  • PDF417 (Encode, decode)
  • MacroPDF417 (Encode, decode)
  • DataMatrix (Encode, decode)
  • Aztec (Encode, decode)
  • QR (Encode, decode)
  • Italian Post 25 (Encode, decode)

Supported Postal Barcode Symbologies

  • Postnet (Encode, decode)
  • Planet (Encode, decode
  • USPS OneCode (Encode, decode)
  • Australia Post (Encode, decode)
  • Deutsche Post Identcode (Encode, decode)
  • Deutsche Post Leticode (Encode, decode)

Barcode Customization

Aspose.BarCode Cloud SDK for PHP offers the capabilities to customize the generated Barcode e.g. size, foreground color, background color, specify codetext location, Rotate Barcode with suitable angle, caption (color, location and size) etc. It is ideal for generating barcodes for the most common barcoding application needs.

 

Support and Learning Resources