Explains the importance of maintaining the Square PHP SDK version and how to do it.
SDKs and Samples

Stay Current with the PHP SDK Version

Each SDK version is tied to a specific Square API version. For more information, see Square API and SDK Versioning. Some highlights are:

  • As features are added, Square releases a new Square API version and a new SDK version. To use new features you must update the SDK version in your application.

  • An increase in the SDK major version number indicates a breaking change. You should test your application before deploying the change to production.

You should stay current with the SDK updates and maintain your code. This helps you avoid using deprecated features and retired features, which can break your application in production.

If you need more assistance, contact Developer Support or ask for help in the Developer Forums.