Skip to content

Releases: printful/php-api-sdk

Added mockup placement type constant

05 Mar 19:07
Compare
Choose a tag to compare
v2.1.1

Added Mockup placement type constant.

Added orders, webhook. Some classes are now prefixed with Printful.

25 Feb 09:50
Compare
Choose a tag to compare
  • Breaking change! Some classes are now prefixed with Printful to make them less generic.
  • Added Order wrapper
  • Added Webhook wrapper

Better namespaces, class names changed, mockup generator

21 Feb 09:24
Compare
Choose a tag to compare
Major update (#2)

* Added phpunit, base test class.
Renamed PrintfulClient to PrintfulApiClient.
API URL is now public property, can be overwritten for testing purposes.

* Discarded PrintfulApi namespace part

* Mockup generator printfile method, tests.
Option to override api client URL in tests by setting it in Credentials.

* Printfile grouping by unique placements and templates

* Multiple placement/printfile grouping test

* canRotate() field, getRatio helper method.

* Wrappers for tax/rates and tax/countries endpoints

* Tax rate retrieval. Additional test

* API changes

* Tax rates. Added isShippingRequired boolean

* PSR auto format

* Mockup generation. Tests.

* Mockup generation. Extra mockup field for MockupItem

* Mockup generation. Added option to provide format JPG or PNG

* Updated user agent

* Increase version

Initial release

12 Jan 16:22
Compare
Choose a tag to compare
v1.0

Fix vendor name in composer.json