Home / Companies / Speakeasy / Blog / Post Details
Content Deep Dive

PHP SDKs Now Available!

Blog post from Speakeasy

Post Details
Company
Date Published
Author
Nolan Sullivan
Word Count
445
Language
English
Hacker News Points
-
Summary

Speakeasy has announced the availability of PHP SDK creation, highlighting PHP's widespread use in around 80% of websites, particularly in e-commerce and finance sectors. The new PHP SDKs are designed to be idiomatic and type-safe, incorporating features like type hints, doc strings, JMS/serializer for JSON handling, and Guzzle as the default HTTP client, although users can substitute this with a custom client if desired. Speakeasy's PHP SDKs are accessible via the Speakeasy CLI, allowing developers to easily generate SDKs for PHP users, as demonstrated through an example involving a method to add a pet in the canonical Petstore API.