To improve clarity and onboarding, all client initialization code samples now include relevant import statements. This update makes it easier for developers to understand and use the SDKs, eliminating guesswork around class and function origins in docs and READMEs.
30 posts tagged with "PHP"
View All TagsIntroducing Proxy Configuration Support in PHP SDKs
We've added support for configuring proxy servers in the generated PHP SDKs.
This update allows API requests to be routed through custom proxy servers, enhancing compatibility with corporate network environments, firewalls, or any setup requiring outbound traffic to pass through a proxy.
Complex Objects Support in HTTP Header Parameters
The SDKs now support passing complex objects, including non-scalar types and collections, as HTTP header parameters in the request.
Introducing String Representations for Models in PHP, Python, Ruby, and Go SDKs
Developers frequently rely on string representations of models for debugging and logging. Our recent update enhances the __str__
or equivalent methods for models in Python, Ruby, PHP, and Go SDKs, offering clear, human-readable outputs.
Typed Additional Model Properties Support in All SDKs
We’re introducing support for typed additional model properties across all SDKs, enhancing type safety and alignment with OpenAPI specifications.
Introducing Support for oneOf and anyOf in PHP SDKs
We are introducing the special oneOf and anyOf types in our PHP SDKs.
Improved PHP Code Samples
The generated PHP code samples are now idiomatic with no errors. This improves the developer experience by allowing developers to run the code samples without any error in their applications and to get started quickly.
Introducing PHP Model Builders
We have introduced builder pattern in PHP SDKs that can be used to set all model properties at once and then build the object at the end.
Introducing Core Libraries in PHP
APIMatic has introduced core libraries to provide a stable runtime that powers all functionality of our SDKs. In this release, we have revamped our PHP SDKs to improve the code quality and provide better test coverage.
Introducing Persistent HTTP Connections in Unirest for PHP
Previously, our PHP SDKs were initiating a new connection for each API call. Now, we have made HTTP connections persistent in Unirest for PHP SDK. Using persistent request allows all server requests to be made through one connection.