PHPackages                             aspose/barcode-cloud-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. aspose/barcode-cloud-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

aspose/barcode-cloud-php
========================

Aspose.BarCode for Cloud is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows 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.

v26.3.0(1mo ago)41.3k↓100%[1 PRs](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-php/pulls)MITPHPPHP &gt;=8.0CI passing

Since May 25Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-php)[ Packagist](https://packagist.org/packages/aspose/barcode-cloud-php)[ Docs](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-php)[ RSS](/packages/aspose-barcode-cloud-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (69)Used By (0)

Aspose.BarCode Cloud SDK for PHP
================================

[](#asposebarcode-cloud-sdk-for-php)

[![PHP 8.5 Supported](https://camo.githubusercontent.com/4d13d8f91e2e64f058634fc03e9368ca37355e98dfa394a72d8d3cb8d906b009/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e352d3737376262333f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-php/actions/workflows/php-versions.yml?query=branch%3Amain)[![License](https://camo.githubusercontent.com/29f408860b48a3db2e74fd150eedfe354b1e6ec925713e0edc7484c4c4783b11/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6173706f73652d626172636f64652d636c6f75642f6173706f73652d626172636f64652d636c6f75642d706870)](LICENSE)[![Test](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-php/actions/workflows/php-versions.yml/badge.svg?branch=main)](https://github.com/aspose-barcode-cloud/aspose-barcode-cloud-php/actions/workflows/php-versions.yml)[![Supported PHP Versions](https://camo.githubusercontent.com/dcf22bd3fdfd6f316ab1852d3a15d10552ea75886aa6ebf9ba8f1590cd1a6128/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6173706f73652f626172636f64652d636c6f75642d7068702f706870)](https://packagist.org/packages/aspose/barcode-cloud-php)[![Packagist Version](https://camo.githubusercontent.com/acfb272c34273d5b4b1999d4eb0d64a4ef140fe82547f20f4ca78e8b7bebf851/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f626172636f64652d636c6f75642d706870)](https://packagist.org/packages/aspose/barcode-cloud-php)

- API version: 4.0
- Package version: 26.3.0
- Supported PHP versions: "&gt;=8.0"

SDK and API Version Compatibility:
----------------------------------

[](#sdk-and-api-version-compatibility)

- SDK Version 25.1 and Later: Starting from SDK version 25.1, all subsequent versions are compatible with API Version v4.0.
- SDK Version 24.12 and Earlier: These versions are compatible with API Version v3.0.

Demo applications
-----------------

[](#demo-applications)

[Scan QR](https://products.aspose.app/barcode/scanqr)[Generate Barcode](https://products.aspose.app/barcode/generate)[Recognize Barcode](https://products.aspose.app/barcode/recognize)[![ScanQR](https://camo.githubusercontent.com/1a70dfa78c97464c4348d0b570e8d48f5925a8767fd4eca6f9bac1845c03f632/68747470733a2f2f70726f64756374732e6173706f73652e6170702f626172636f64652f7363616e71722f696d672f6173706f73655f7363616e71722d6170702d34382e706e67)](https://products.aspose.app/barcode/scanqr)[![Generate](https://camo.githubusercontent.com/3248874539b4ae72222ba395a05ca2d1009fde6d5061d01457f0b9af104bcd1b/68747470733a2f2f70726f64756374732e6173706f73652e6170702f626172636f64652f67656e65726174652f696d672f6173706f73655f67656e65726174652d6170702d34382e706e67)](https://products.aspose.app/barcode/generate)[![Recognize](https://camo.githubusercontent.com/b60ba53385ebff8e9aae3a19352ab7e3a784d75a1779e9543769c11cdeec0621/68747470733a2f2f70726f64756374732e6173706f73652e6170702f626172636f64652f7265636f676e697a652f696d672f6173706f73655f7265636f676e697a652d6170702d34382e706e67)](https://products.aspose.app/barcode/recognize)[**Generate Wi-Fi QR**](https://products.aspose.app/barcode/wifi-qr)[**Embed Barcode**](https://products.aspose.app/barcode/embed)[**Scan Barcode**](https://products.aspose.app/barcode/scan)[![Wi-FiQR](https://camo.githubusercontent.com/64bd1add14f5d7add3203711f214448bdc3e86c328bb2903b2516e0e00a7109f/68747470733a2f2f70726f64756374732e6173706f73652e6170702f626172636f64652f656d6265642f696d672f6173706f73655f776966692d71722d6170702d34382e706e67)](https://products.aspose.app/barcode/wifi-qr)[![Embed](https://camo.githubusercontent.com/fe5ac4bb495c831d0076758cc822dd4aff4f91ff98ac90dbed784499d9152227/68747470733a2f2f70726f64756374732e6173706f73652e6170702f626172636f64652f656d6265642f696d672f6173706f73655f656d6265642d6170702d34382e706e67)](https://products.aspose.app/barcode/embed)[![Scan](https://camo.githubusercontent.com/1bca629d60d7b793e2d00f0a6781f2bbf73feaea228069bbe9674f8d10ce3050/68747470733a2f2f70726f64756374732e6173706f73652e6170702f626172636f64652f656d6265642f696d672f6173706f73655f7363616e2d6170702d34382e706e67)](https://products.aspose.app/barcode/scan)[Aspose.BarCode for Cloud](https://products.aspose.cloud/barcode/) is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows 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.

This repository contains Aspose.BarCode Cloud SDK for PHP source code.

To use these SDKs, you will need Client Id and Client Secret which can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/applications) (free registration in Aspose Cloud is required for this).

How to use the SDK
------------------

[](#how-to-use-the-sdk)

You can either directly use it in your project via source code or get [Packagist distribution](https://packagist.org/packages/aspose/barcode-cloud-php) (recommended).

Installation
------------

[](#installation)

### Via Composer

[](#via-composer)

*barcode-cloud-php* is available on Packagist as the [`barcode-cloud-php`](https://packagist.org/packages/aspose/barcode-cloud-php) package. Run the following command:

```
composer require aspose/barcode-cloud-php
```

To use the SDK, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

```
require __DIR__ . '/vendor/autoload.php';
```

### Sample usage

[](#sample-usage)

```
