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.
27 posts tagged with "PHP"
View All TagsTyped 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.
Introducing Support for Complex Query Parameters in PHP SDKs
PHP SDKs now support complex query parameters with which you can send a complex type as well as arrays/maps of complex types in query strings.
Updating Type Hints for Dictionaries in PHP SDKs
APIMatic CodeGen has made improvements by updating type hints of dictionaries in PHP SDKs to better capture the type information.
Introducing PHP 8.1 Compatibility in SDKs
The APIMatic Code Generator now supports SDK compatibility with the runtime version of PHP 8.1.