Packages
Official packages
Official Labyrinthe Connect SDKs: PHP, Laravel, Node.js, Python, .NET, Java, WordPress, OTP widget, Postman and OpenAPI.
Every package follows specification 1.3.0 and is at version 1.2.0. They share the same behaviour: key read from LABYRINTHE_API_KEY, automatic retries (2 by default) on temporary errors, Idempotency-Key always sent, normalized numbers, typed exceptions (including FEATURE_DISABLED maintenance) and webhook verification.
| Package | Registry | Install | Requirements | Links |
|---|---|---|---|---|
PHPlabyrinthe/connect-phpv1.2.0 · PHP client (Guzzle or any PSR-18 client), signed webhooks. | Packagist | composer require labyrinthe/connect-php | PHP 8.1+, ext-json, ext-mbstring | |
Laravellabyrinthe/connect-laravelv1.2.0 · Facade, notification channel, validation rules, webhook route and test fake. | Packagist | composer require labyrinthe/connect-laravel | PHP 8.1+, Laravel 10 to 13 | |
Node.js@labyrinthe/connectv1.2.0 · Typed TypeScript client, Express and Next.js webhook adapters. | npm | npm install @labyrinthe/connect | Node.js 18+ (ESM and CommonJS, Deno, Bun, edge) | |
Pythonlabyrinthe-connectv1.2.0 · Sync and async clients, Flask, FastAPI and Django helpers. | PyPI | pip install labyrinthe-connect | Python 3.9+ (httpx) | |
.NETLabyrinthe.Connectv1.2.0 · Async client (HttpClient), typed models. | NuGet | dotnet add package Labyrinthe.Connect | .NET Standard 2.0 or .NET 8+ | |
ASP.NET CoreLabyrinthe.Connect.AspNetCorev1.2.0 · Dependency injection (AddLabyrinthe) and webhook endpoint. | NuGet | dotnet add package Labyrinthe.Connect.AspNetCore | .NET 8+ | |
Javacd.labyrinthe:labyrinthe-connectv1.2.0 · Sync and async client (java.net.http). | Maven Central | implementation("cd.labyrinthe:labyrinthe-connect:1.2.0") | Java 11+, no dependencies | |
Spring Bootcd.labyrinthe:labyrinthe-connect-spring-boot-starterv1.2.0 · Auto-configuration and webhook controller. | Maven Central | implementation("cd.labyrinthe:labyrinthe-connect-spring-boot-starter:1.2.0") | Java 17+, Spring Boot 3 | |
WordPresslabyrinthe-connectv1.2.0 · SMS login, sign-up verification, WooCommerce order SMS. | WordPress.org | Extensions > Ajouter > « Labyrinthe Connect » | WordPress 6.4+, PHP 8.1+ (WooCommerce 8.0+ optional) | |
Web@labyrinthe/otp-widgetv1.2.0 · <labyrinthe-otp> web component and React component, with server handlers. | npm | npm install @labyrinthe/otp-widget @labyrinthe/connect | Modern browsers; Node.js 18+ server | |
PostmanPostmanv1.3.0 · Collection of every request, local and production environments. | GitHub | labyrinthe-connect.postman_collection.json | Postman or Insomnia | |
OpenAPI 3.1OpenAPIv1.3.0 · Source-of-truth API specification, also served by the API itself. | GitHub | openapi.yaml | Any OpenAPI 3.1 generator |
Source code of every package: github.com/Labyrinthe-Team/labyrinthe-connect-sdks.
Which package?#
Labyrinthe::fake().Node.js TypeScript, Express, Next.js, edge, Deno, Bun.Python Sync and async, Flask, FastAPI, Django..NET LabyrintheClient and ASP.NET Core integration.Java Java 11+, Spring Boot 3 starter.WordPress No code: SMS login, WooCommerce.OTP widget Ready-made verification form.Postman and OpenAPI#
The Postman collection contains every request, with local and production environments (apiKey variable). The OpenAPI 3.1 specification is the API source of truth: use it to generate a client in another language. It is also served by the API (GET /api/public/openapi.yaml) and rendered in the reference.