2017 © Pedro Peláez
 

library php-api-sdk

Printful API wrapper

image

printful/php-api-sdk

Printful API wrapper

  • Wednesday, July 11, 2018
  • by printful-developer
  • Repository
  • 9 Watchers
  • 28 Stars
  • 31,668 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 22 Versions
  • 21 % Grown

The README.md

Latest Stable Version Latest Unstable Version, (*1)

Printful API PHP wrapper

Simple PHP wrapper class for work with Printful API., (*2)

API endpoint documentation can be found here: https://www.printful.com/docs, (*3)

Installation

Using composer, run composer require printful/php-api-sdk, (*4)

Check out example and test directories for more specific usage examples., (*5)

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, (*6)

You can create an OAuth enabled APIClient using the following factory method:, (*7)

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

You can still use the old store keys, like this:, (*8)

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

or, by using the constructor like this:, (*9)

$client = new PrintfulApiClient($storeKey)

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

The Versions

11/07 2018

dev-master

9999999-dev

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

11/07 2018

v2.2.4

2.2.4.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

11/07 2018

dev-estimate-costs

dev-estimate-costs

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

24/04 2018

v2.2.3

2.2.3.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

03/04 2018

v2.2.2

2.2.2.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

05/03 2018

v2.2.1

2.2.1.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

05/03 2018

dev-order-param-visibility

dev-order-param-visibility

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

24/01 2018

v2.2.0

2.2.0.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

23/01 2018

dev-mockup-generator-positions

dev-mockup-generator-positions

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

18/12 2017

v2.1.9

2.1.9.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

02/10 2017

v2.1.8

2.1.8.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

18/09 2017

dev-store-info

dev-store-info

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

30/08 2017

v2.1.7

2.1.7.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

23/08 2017

v2.1.6

2.1.6.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

22/06 2017

v2.1.5

2.1.5.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

21/06 2017

v2.1.4

2.1.4.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

31/03 2017

v2.1.3

2.1.3.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

22/03 2017

v2.1.2

2.1.2.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

05/03 2017

v2.1.1

2.1.1.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

25/02 2017

v2.1

2.1.0.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

21/02 2017

v2.0

2.0.0.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

The Development Requires

by Printful

12/01 2017

v1.0

1.0.0.0

Printful API wrapper

  Sources   Download

The Requires

  • ext-curl *
  • ext-json *
  • php >=5.4.0

 

by Printful