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.
27 posts tagged with "PHP"
View All TagsToken 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 apimatic
and vmware
in your the list, APIMaticandvmWare
becomes ApimaticAndVmware
or apimatic_and_vmware
, depending on the place of use.
Support for Contact Info in API Editor and SDKs
We have added support for adding contact information of the organization maintaining the API in our API editor.
Allow Skipping Verification of SSL Certificates
Our Android, .Net, Go, Java, NodeJS, PHP, Python and Ruby SDKs now allow skipping verification of SSL certificates. To do this enable the CodeGen Setting Allow Skipping Certificate Verification and then set the corresponding configuration variable in the respective SDK.
Disable Linting in SDKs
We have added a new CodeGen setting to allow disabling linting in our SDKs. If you would like to benefit from this feature then please enable the setting and generate your SDKs again.
Datetime Bug Fix in PHP
There was a problem in the handling of 'optional' DateTime fields in models. The issue has now been resolved.
Please regenerate your PHP SDKs to get this fix.
Multiple Datetime Formats in PHP
We have now added support for multiple datetime formats in our PHP SDKs. The following formats are supported:
- RFC1123 Datetime:
Mon, 15 Jun 2009 20:45:30 GMT
- RFC3339 Datetime:
2016-03-13T12:52:32.123Z
- Unix Timestamp:
1480809600
Xml Schema Support Improved, Missing Features Added
We have recently revamped our support for XML schema. This includes bug fixes (array types and optional properties were not catered in some cases, issues with circular references, etc.) and addition of missing features (Union of simple types, redefinition of schema types, etc.).
OAuth 2.0 Authorization Support Added
Our API editor and Code Generation engine now supports OAuth 2.0 for authentication in the generated SDKs.
OAuth 2 enabled SDKs will help developers in:
- Obtaining consent from user
- Acquiring access token
- Refreshing tokens when they expire
- Making authorized API calls
You can read more about OAuth 2.0 in APIMatic editor and Code Generation engine here.