Port 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
Vatlycomposition 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.
Reply
·
In alpha: @getvatly/fluent, built on @getvatly/sdk and ported from vatly-fluent-php. Alpha releases may include breaking changes, so pin the version you install.