Releases: printful/php-api-sdk
Releases · printful/php-api-sdk
Added mockup placement type constant
v2.1.1 Added Mockup placement type constant.
Added orders, webhook. Some classes are now prefixed with Printful.
- 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
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
v1.0 Fix vendor name in composer.json