承接 printu/labelary 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

printu/labelary

最新稳定版本:3.0.0

Composer 安装命令:

composer require printu/labelary

包简介

PHP API for Labelary.com

README 文档

README

PHP bindings for the Labelary.com API (http://labelary.com).

API Documentation

Build Status Code Climate Test Coverage

Installation

The API client can be installed via Composer.

In your composer.json file:

{
    "require": {
        "printu/labelary": "~2.0"
    }
}

Once the composer.json file is created you can run composer install for the initial package install and composer update to update to the latest version of the API client.

The client uses Guzzle.

Basic Usage

Remember to include the Composer autoloader in your application:

<?php
use GuzzleHttp\Exception\GuzzleException;

require_once 'vendor/autoload.php';

// Application code...
$labelary = new Labelary\Client();

$zpl = '^xa^cfa,50^fo100,100^fdHello World^fs^xz';

try {
    $response = $labelary->printers->labels([
        'zpl' => $zpl,
        'response' => 'application/pdf',
        'rotate' => 180
    ]);
} catch (GuzzleException $e) {
    throw new Exception("API Labelary error: ".$e->getMessage());
}

License

MIT license. See the LICENSE file for more details.

统计信息

  • 总下载量: 599.84k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 32
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 32
  • Watchers: 4
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固