Use the Square PHP library to build with Square APIs in a language-idiomatic way that reduces complexity without sacrificing API functionality.
SDKs and Samples

PHP SDK

Start developing with Square in a matter of minutes. The Square PHP library supports Square APIs in a language-idiomatic way that reduces complexity without sacrificing API functionality.

Info Icon

Latest SDK Version: 27.0.0.20230517

You have the following options to explore the Square PHP SDK.

If you want minimal instructions:

If you prefer detailed instructions, see the following topics:

We've made improvements to our docs.
Prefer the old format?