For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Slack communityBook a demo
HomeAPI DefinitionSDKsDocsCLI & API Reference
HomeAPI DefinitionSDKsDocsCLI & API Reference
  • Introduction
    • Overview
    • Language Support
    • SDK Customer Showcase
      • Python
      • Go
      • .NET
      • Java
      • PHP
      • Ruby
  • Capabilities
    • Strongly Typed
    • Idiomatic Method Names
    • Schema Validation
    • Discriminated Unions
    • Multipart Form Data
    • Forward Compatibility
    • Registry Publishing
    • Auto-Pagination
    • OAuth Token Refresh
    • Retries with Backoff
    • Webhook Signature Verification
    • Idempotency Headers
    • Server-Sent Events
    • Integration Tests
    • Code Snippets
    • Augment with Custom Code
    • Merging Multiple APIs
    • WebSockets
  • Reference
    • Configuration
  • Guides
    • Generate your First SDK
    • Preview your SDK Locally
    • Publish a Public-Facing SDK
LogoLogo
Slack communityBook a demo
On this page
  • February 13, 2025
  • 0.12.0
  • February 12, 2025
  • 0.11.0
  • February 11, 2025
  • 0.8.0
  • February 9, 2025
  • 0.5.2
  • February 7, 2025
  • 0.5.0
  • February 5, 2025
  • 0.3.1
  • February 3, 2025
  • 0.2.3
  • December 12, 2024
  • 0.2.2
  • November 20, 2024
  • 0.2.1
  • October 30, 2024
  • 0.2.0
IntroductionChangelogs

PHP

February 13, 2025
February 13, 2025

0.12.0

(feat): Add support for discriminated unions.


February 12, 2025
February 12, 2025

February 11, 2025
February 11, 2025

February 9, 2025
February 9, 2025

February 7, 2025
February 7, 2025

0.5.0

(feat): Add the __toString() magic method to all generated class types.


February 5, 2025
February 5, 2025

February 3, 2025
February 3, 2025

December 12, 2024
December 12, 2024

0.2.2

(fix): Handle cross package type name deconfliction


November 20, 2024
November 20, 2024

0.2.1

(fix): Override escaped method names in the generated client.


October 30, 2024
October 30, 2024

0.2.0

(feat): Add support for multipart file uploads.

Older posts

Next
Built with

0.11.0

(feat): The SDK now supports a bodyProperties and queryParameters request option, which can be used to add arbitrary properties to the request. This is useful for interacting with alpha or undocumented functionality.

$response = $client->users->list(
1 new ListUsersRequest([
2 ...
3 ]),
4 [
5 'queryParameters' => [
6 'limit' => 100,
7 ],
8 ]
9); ```

0.8.0

(feat): Add automatic pagination support for endpoints that return a paginated response. Here’s an example of how users can use paginated endpoints:

$items = $client->list($request); foreach($items as $item){
1 echo $item;
2} $pages = $items->getPages(); foreach($pages as $page){
3 foreach($page as $item){
4 echo $item;
5 }
6} ```

0.5.2

(fix): Update the endpoint generator to not require the in-lined request wrapper if it’s only composed of optional properties.

(fix): Update optional query parameters lists to be generated as an optional array instead of an array of optional values.

0.3.1

(fix): Improve multiline parameter docs by writing them above the tag, e.g.

class UpdateUserRequest extends JsonSerializableType {
1 /**
2 * The user to update.
3 *
4 * See [User](https://acme.co/user) for more information.
5 *
6 * @var ?User $user
7 */
8 public ?User $user;
9} ```
10
11**`(fix):`** Add .idea to the generated .gitignore file.

0.2.3

(fix): Updates a variety of properties in the generated composer.json file, including:

  • Pin guzzlehttp/guzzle to version ^7.4.
  • Custom license support.
  • Set memory-limit to 1G in the analyze script.