Integrate Manifold into your application.
One SDK for authentication, billing, feature access, settings, and messaging. Use hooks and components in React and Next.js, a client and middleware in Laravel and PHP, or the REST API from any backend.
Quickstart
Install the SDK, wrap your application once, and call hooks anywhere in your component tree. Cached data keeps repeated calls and hooks in sync.
npm install @manifold/sdk-next✓ Package installed
Account
SDKs
Each SDK exposes the same workspace. Pick the package for your stack and keep your routes, components, and product logic.
Next.js
Available@manifold/sdk-next
Provider, hooks, components, server and middleware entry points
npm install @manifold/sdk-next
React
Available@manifold/sdk-react
The same hooks and components for any React framework
npm install @manifold/sdk-react
Laravel
Availablemanifold/laravel-client
Facade, middleware, Blade directives, Gate bridge, Artisan commands, app shell
composer require manifold/laravel-client
PHP
Availablemanifold/php-client
Typed client for any PHP 8.2 application
composer require manifold/php-client
Rust
In progressmanifold-sdk
Client, licensing, offline verification
Python
Coming soonGo
Coming soonRuby
Coming soonJava
Coming soon.NET
Coming soonFeature gating
Check plan entitlements and feature flags with one hook or component. Gate an action, show remaining usage, and prompt an upgrade when a customer reaches a limit.
import { useFeatureGate } from '@manifold/sdk-next';
const {
hasAccess, canProceed, usage, consume, isLoading,
} = useFeatureGate('ai-queries', 1);
if (isLoading) return <p>Loading…</p>;
if (!hasAccess) return <UpgradePrompt />;
<p>{usage?.remaining} queries remaining</p>
<button disabled={!canProceed} onClick={consume}>
Ask AI
</button>AI assistant
Checking access…
Components
Drop complete flows into your interface. Each component reads its configuration from your workspace and renders in your own routes.
import { ManifoldOnboarding } from '@manifold/sdk-next';
<ManifoldOnboarding
layout="full-page"
onFlowComplete={openDashboard}
/>Workspace settings
Your profile
Set up your account
Use PaymentMethodForm for a standalone payment form.
Messaging surfaces include MessageBell,
MessageBanner, MessageToast, and
MessageInlineCard.
Messaging components ↗
Hosted pages & app shell
Ship without building the UI. Create an onboarding session from your backend and redirect, or install the Laravel app shell and let the console drive branding, navigation, and pages at runtime.
Your backend
{
"return_url": "https://forma.app/ready"
}Manifold API
{
"onboarding_url": "https://forma.manifold.app/onboarding?session=…",
"token": "session_…",
"expires_at": "2026-09-16T12:00:00Z"
}Hosted page
Your profile
Your app
forma.app/ready⌑Awaiting return
Return URL
Laravel app shell
php artisan manifold:install-shell- Console-driven branding and navigation
- Pre-built auth, settings, billing, and notification pages
-
Publish any piece with
vendor:publishwhen you need control
Projects
Your team’s work in one place
REST API
Call the same workspace from any language. Bearer authentication, one JSON envelope with a request id, page-based pagination, and documented error shapes.
GET /api/v1/usercurl https://forma.manifold.app/api/v1/user \
-H "Authorization: Bearer {token}" \
-H "X-Tenant-ID: forma"{
"data": {
"id": 1,
"name": "Alex Morgan",
"email": "alex@example.com"
},
"meta": {
"request_id": "req_demo"
}
}Documentation
From the first install to the details of an endpoint.
- Quickstart ↗
- Connect your workspace and make your first SDK call
- SDK matrix ↗
- Compare packages and platform coverage
- Next.js SDK ↗
- Providers, hooks, components, and server integration
- Laravel SDK ↗
- Middleware, Blade directives, and the app shell
- API reference ↗
- Requests, responses, authentication, and errors
Build with Manifold.
Tell us what you’re building.
We’ll help you get started.