# TypeScript/JavaScript Fluent package

**Project:** Integrations | **Board:** In progress | **Votes:** 1
**URL:** https://roadmap.vatly.com/projects/9-integrations/items/38-typescriptjavascript-fluent-package

---

Port [vatly-fluent-php](https://github.com/Vatly/vatly-fluent-php) to TypeScript/JavaScript: a framework-agnostic, fluent layer on top of the TypeScript/JavaScript SDK.

Like the PHP version, it would add:

- A domain model for subscriptions, orders and customers.
- Repository contracts for persisting subscriptions, orders and customer bindings in your own database.
- A full webhook pipeline: signature verification, parsing, typed domain events (`OrderPaid`, `SubscriptionStarted`, ...) and dispatch.
- Builders for checkout and subscription flows.
- A single `Vatly` composition root, plus an api-only mode for scripts.

This is the foundation for framework drivers such as Next.js, Nuxt, SvelteKit, Remix, Express or NestJS, in the same way `vatly-laravel` builds on the PHP Fluent package.

---

## Comments

**Sander** (2026-11-23T14:32:23+00:00):
In alpha: [`@getvatly/fluent`](https://github.com/vatly/vatly-fluent-js), built on `@getvatly/sdk` and ported from vatly-fluent-php. Alpha releases may include breaking changes, so pin the version you install.

