Background image
Featured blog post image

PHP Beta & SSO for Enterprises

New features to the Speakeasy Platform - September 18, 2024

Laravel raised $57M in Series A funding (opens in a new tab) ๐Ÿ’ฐ making it clear that PHP is back in a big way. That makes it the perfect time to announce the beta release of our new PHP SDK Generator! Weโ€™re bringing modern type safety and a streamlined developer experience to PHP SDKs generated on our platform.

And in less splashy (but still important) news, weโ€™re launching Single Sign-On (SSO) support on the Speakeasy platform!

Read on for more details.

Type-Safe PHP Generation is now in Beta

declare(strict_types=1);
require 'vendor/autoload.php';
use Dub;
use Dub\Models\Components;
use Dub\Models\Operations;
$security = new Components\Security(
token: "DUB_API_KEY",
);
$sdk = Dub\Dub::builder()->setSecurity($security)->build();
try {
$request = new Operations\CreateLinkRequestBody(
url: 'https://google.com',
tagIds: '...',
externalId: '123456',
);
$response = $sdk->links->create($request);
if ($response->linkSchema !== null) {
// handle response
}
} catch (Throwable $e) {
// handle exception
}

Hereโ€™s a quick rundown of what our new PHP SDK Generator brings to the table:

  • Robust type safety with carefully typed properties for all models
  • Support for union types, embracing PHP 8โ€™s modern type system
  • Readability, a streamlined, object-oriented approach for easy debugging
  • Minimal external dependencies for a lightweight footprint
  • IDE compatibility for a superior development experience

We canโ€™t wait to hear what people think! Please donโ€™t hesitate to reach out with feedback and questions.

Read the release post here.


SSO for Enterprises

SSO

Weโ€™re excited to announce the launch of Single Sign-On (SSO) support on the Speakeasy platform. Our SSO is compatible with any IDP that uses SAML or OIDC (i.e. Okta).

Weโ€™re committed to providing robust, enterprise-grade solutions to businesses of every size.

If youโ€™re interested in enabling SSO for your organization, please reach out to your account manager for access.


๐Ÿ New features and bug fixes ๐Ÿ›

Info Icon

NOTE

Based on the most recent CLI version: Speakeasy v1.398.0 (opens in a new tab)

Generation platform

๐Ÿ Feat: initialize git repository during quickstart

Python

๐Ÿ Feat: upgrade to Pydantic 2.9
๐Ÿ› Fix: ensure async client is used for async request building
๐Ÿ› Fix: handle additional properties in models with nullable fields
๐Ÿ› Fix: add usage snippets for next pagination func

Go

๐Ÿ› Fix: Handle default streaming responses in go

Terraform

๐Ÿ Feat: add resources & data sources to terraform documentation

PHP

๐Ÿ Feat: add multi-level tagging support
๐Ÿ Feat: add nullable support
๐Ÿ› Fix: improve handling of associative arrays contained in unions