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.
24 posts tagged with "PHP"View All Tags
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.
Revamped PHP SDKs as Immutable Clients, Added Support for PHP 8.0
APIMatic's PHP SDKs have been refactored to immutable clients and now support PHP 8.0 with updated dependencies. All static analysis and linting issues have been resolved, support for optional and nullable has been added along with a new restructured authorization flow, and much more.
Token Refresh on Expiry in OAuth 2 Client Credential Flow
We've updated our SDKs that use OAuth 2 Client Credential Flow to enable automatic re-authorization of the client when the OAuth token is expired.
Do-Not-Split Words in Code Generation Settings
We have added a new CodeGen setting that allows you to specify a list of words that Code Generation will not split when converting identifiers from API specification to language-specific identifiers. This is useful for declaring brand names such as APIMatic.
E.g. if you provide the words
vmware in your the list,
apimatic_and_vmware, depending on the place of use.