定制 printful/php-api-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

printful/php-api-sdk

最新稳定版本:v2.2.11

Composer 安装命令:

composer require printful/php-api-sdk

包简介

Printful API wrapper

README 文档

README

Latest Stable Version Latest Unstable Version

Printful API PHP wrapper

Simple PHP wrapper class for work with Printful API.

API endpoint documentation can be found here: https://www.printful.com/docs

Installation

Using composer, run composer require printful/php-api-sdk

Check out example and test directories for more specific usage examples.

OAuth

OAuth 2.0 is the preferred way of doing authorization in Printful API. Read more about how to acquire and use an access token in our docs: https://developers.printful.com/docs/#section/Authentication

You can create an OAuth enabled APIClient using the following factory method:

...
use Printful\PrintfulApiClient;
... 
$client = PrintfulApiClient::createOauthClient('my-oauth-token')

You can still use the old store keys, like this:

...
use Printful\PrintfulApiClient;
... 
$client = PrintfulApiClient::createLegacyStoreKeyClient('my-legacy-store-key')

or, by using the constructor like this:

$client = new PrintfulApiClient($storeKey)

However, please note that legacy keys will be phased out on September 30th, 2022.

统计信息

  • 总下载量: 176.43k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 81
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 79
  • Watchers: 11
  • Forks: 24
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固