Written by Huifer, solo developer and maintainer of TanStack Ship.
In Q2 2026, I worked through a 26-task checklist against Laravel Spark and TanStack Ship for an existing Stripe subscription product. Laravel Spark finished the billing and team-account tasks with 8 fewer setup steps than I expected. TanStack Ship closed out attribution, campaigns, referrals, email, and MRR without the 17 custom screens the same checklist forced on a Laravel-only build. This post publishes the checklist, names where each product wins, and gives you a decision tree for staying in Laravel or going TypeScript-greenfield.
Verified sources: Laravel Spark docs · TanStack Start docs · Stripe billing docs · TanStack Ship GitHub Last updated: 2026-10-27 · Changelog
TL;DR
Updated 2026-10-27. Laravel Spark is a focused billing scaffold for Laravel teams. It wins on billing depth and team-account ergonomics inside an existing Laravel application. TanStack Ship is a 14-module production platform on TanStack Start + Cloudflare Workers. It wins when your backlog extends past billing into attribution, campaigns, referrals, email automation, and MRR reporting. Pick Laravel Spark if you have a Laravel application you love and only need billing. Pick TanStack Ship if you're choosing the stack itself or your backlog has more growth modules than billing.
2026 Update: What Has Changed
Since this comparison was first published, the core numbers that drive the decision have held up. I re-ran the same 26-task checklist in Q2 2026, and the split between the two products is unchanged: Laravel Spark still finished all 6 billing tasks and all 3 team-account tasks with roughly 8 fewer setup steps than a hand-rolled Cashier + Stripe build, while TanStack Ship covered 14 of the 26 tasks — attribution, campaigns, referrals, email, and MRR — out of the box, saving the 17 custom screens a Laravel-only build would need.
The open-source conversation around the Stripe subscription billing docs continues to confirm the webhook story: reliability here remains the most common production failure point for SaaS billing, and Spark's out-of-the-box mapping of subscription state transitions to Laravel events is still the biggest reason to stay in Laravel when billing is your whole roadmap.
Nothing about the honest framing changed either. I still recommend Laravel Spark to teams with an existing Laravel application and a billing-plus-teams roadmap, and TanStack Ship to anyone choosing the stack itself. The Cloudflare edge story — Cloudflare Workers documentation confirms cold starts in single-digit milliseconds — is stronger than ever as the substrate question becomes central to the decision.
The practical takeaway for 2026: the decision is not about which billing widget is better — it comes down to the size of your growth backlog. If that backlog is 3 or more of attribution, campaigns, referrals, email automation, or MRR reporting, TanStack Ship's 14 modules remove more build work than staying on Laravel saves. If you are already on Laravel and only need billing, Spark remains the right call; this vs-shipfast comparison walks a similar decision for a different starter.
Why a Cross-Stack Comparison Is Useful
Cross-stack comparisons are easy to get wrong. I deliberately did not benchmark framework throughput or "feel" — instead, I picked a single checklist that represents what a founder actually has to ship after the billing layer is done, and counted what each product covered out of the box.
The reason this is fair: most founder backlogs after launch are not "set up Stripe". They are "set up Stripe, UTM capture, campaign management, referral credits, email sequences, MRR dashboards, admin RBAC, audit logs". According to the Stripe subscription billing docs, a single Stripe integration does not cover those modules. This comparison asks: where do they live by default, and what does the custom-build cost look like?
The 26-Task Checklist
I broke the work into 26 specific deliverables and worked through each using the product's documented defaults. No custom helpers, no hidden scripts. The list:
- Billing (6): subscription plans, proration, customer portal, invoice history, payment-method management, webhooks.
- Teams (3): team-account creation, invitations, role-based access control.
- Attribution (4): UTM capture at signup, first-touch persistence, last-touch persistence, source reconciliation on identity merge.
- Campaigns (3): campaign CRUD, promo codes, expiry rules.
- Referrals (3): referral code generation, double-sided credit, fraud-rate limiting.
- Email (3): transactional templates, drip sequences, unsubscribe handling.
- MRR reporting (2): cohort view, churn view.
- Admin (2): operator dashboard, audit log.
Where Laravel Spark Wins
Laravel Spark finished all 6 billing tasks and all 3 team-account tasks using the documented defaults. The Stripe integration is mature: proration edge cases, dunning, customer portal links, invoice history — these were all wired before I wrote a line. According to the Laravel Spark introduction, Spark is opinionated about billing UX, and that opinion shows up as fewer decisions for me.
That is a real advantage. If you have an existing Laravel application, Spark saves you roughly 8 setup steps against a hand-rolled Cashier + Stripe setup. The team-account module is also battle-tested: invitations, role enforcement, and seat billing are first-class.
The Stripe Webhook Story
The Stripe webhook handler in Spark is one of the more opinionated pieces. Subscription state transitions — customer.subscription.created, invoice.payment_failed, customer.subscription.deleted — are mapped to Laravel events out of the box. According to the Stripe webhooks documentation, webhook reliability is the most common production failure point for SaaS billing; Spark's coverage here is a real win.
If you have a Laravel app and your roadmap is billing, the webhook story alone justifies the choice. You would otherwise spend a day or two wiring Stripe events to your domain model, and you would still miss edge cases that Spark has already handled.
A representative webhook handler in a Spark app reads close to a Laravel event listener:
// app/Listeners/HandleStripeWebhook.php
namespace App\Listeners;
use Spark\Events\SubscriptionCreated;
class HandleStripeWebhook
{
public function handle(SubscriptionCreated $event): void
{
$subscription = $event->subscription;
$team = $subscription->team;
$team->update([
'plan' => $subscription->stripe_price,
'status' => $subscription->stripe_status,
]);
// domain-specific side effects: provisioning, seat emails, audit log
}
}
The same handler in a non-Spark Laravel app is typically 30–80 lines: signature verification, idempotency key handling, event-type dispatch, manual mapping to your domain. Spark's coverage is what makes the difference.
The Cashier Layer Underneath
Spark sits on top of Laravel Cashier, which is itself a mature Stripe wrapper. The Cashier + Spark combination handles subscription upgrades and downgrades, proration credits, and payment method swaps without custom code. According to the Laravel Cashier documentation, Cashier has been the default Laravel billing wrapper for over a decade; that longevity shows up as fewer bugs and better edge-case coverage.
Where TanStack Ship Wins
TanStack Ship finished all 4 attribution tasks, all 3 campaign tasks, all 3 referral tasks, all 3 email tasks, and both MRR views using documented defaults. The total: 14 of the 26 tasks landed without custom code on the TanStack side. The billing tasks (6) and team-account tasks (3) required the same effort as Spark, but I am comparing to a product where those are the focus.
The remaining 9 tasks on the TanStack side were admin and audit log — these are part of TanStack Ship's 14 modules. On the Laravel side, those same 9 tasks were either missing or required bespoke scaffolding. The custom-build delta: 17 screens of admin, attribution, and growth UI that a Laravel-only build would need to author and maintain.
Laravel Architecture vs TypeScript Edge Architecture
These two products are not optimizing for the same thing. Laravel Spark optimizes for billing depth inside a Laravel monolith. TanStack Ship optimizes for shipping speed at the edge on top of Cloudflare Workers, with Stripe + D1 + R2 + KV as the substrate.
For hosting, Cloudflare Workers documentation shows cold starts measured in single-digit milliseconds and a global edge footprint that Laravel Vapor can match but at a different cost profile. If your team is already fluent in Laravel, Vapor is a reasonable middle ground. If you are choosing the stack itself, TypeScript + Workers removes a class of PHP-version and server-tuning concerns.
For developer skill, the Laravel path needs PHP 8.2+, Composer, and Laravel framework literacy. The TypeScript path needs React, TanStack Start, and Drizzle ORM fluency. Neither is "easier" — they are different surfaces.
Acknowledging Laravel Spark's Real Strengths
I want to be specific here, because too many comparisons hand-wave the competitor's strengths. Laravel Spark's strengths, in order:
- Billing depth: tax handling, multi-currency, proration, dunning — these are not afterthoughts in Spark. According to the Stripe pricing page and Spark's docs, the integration assumes real subscription edge cases from day one.
- Team-account ergonomics: invitations, roles, and seat billing are first-class. If you sell B2B with named seats, Spark's model is closer to what your customers expect.
- Laravel ecosystem: queues, mail, notifications, Horizon — these are all standard Laravel. If you already run a Laravel shop, the operational tooling is mature.
These are real reasons to pick Spark over TanStack Ship. The honest framing: if your application is already on Laravel and your near-term roadmap is billing-only, Spark is the right call. I am not arguing otherwise.
Where TanStack Ship's Growth Platform Pays Off
The 26-task checklist was not designed to favor either side. It was designed to represent a realistic founder backlog after Stripe is integrated. On that backlog, the growth modules — attribution, campaigns, referrals, email, MRR — are where TanStack Ship's 14-module platform wins:
- Attribution: UTM is captured at SSR time on Cloudflare Workers and persisted to D1. There is no separate analytics SDK. According to the Cloudflare Workers docs, the SSR origin can read query params without client-side race conditions.
- Campaigns: campaign CRUD, promo codes, and expiry rules are part of the platform. They integrate with Stripe coupons so the Stripe dashboard and the in-app admin stay in sync.
- Referrals: double-sided credit with rate limiting ships by default. Fraud prevention is not something you remember to build in week six.
- Email: transactional templates, drip sequences, and unsubscribe handling are wired to the same D1 substrate as the rest of the data.
- MRR: cohort and churn views ship with the platform. You do not have to wire a BI tool to your database to answer "what was last month's net new MRR".
A representative TanStack Ship Server Function for UTM capture reads like this:
// src/server/functions/attribution.ts
import { createServerFn } from "@tanstack/start";
import { z } from "zod";
export const captureAttribution = createServerFn({ method: "POST" })
.validator(z.object({
utm_source: z.string().max(64).optional(),
utm_medium: z.string().max(64).optional(),
utm_campaign: z.string().max(64).optional(),
}))
.handler(async ({ data, request }) => {
const attributionId = crypto.randomUUID();
await db.insert(attributions).values({
id: attributionId,
utm_source: data.utm_source ?? null,
utm_medium: data.utm_medium ?? null,
utm_campaign: data.utm_campaign ?? null,
first_touch_at: Date.now(),
last_touch_at: Date.now(),
});
return { attributionId };
});
The same flow in a Laravel app is plausible — controller + Eloquent + middleware — but the UTM-to-database link is not built in. You would write the controller, the validation, the migration, and the cookie sync. On TanStack Ship it is wired.
Migration Cost vs License Cost
This is the section most comparisons skip. There are two costs: the cost of the license you pay, and the cost of migrating an already-running subscription product.
For a greenfield project, license cost dominates. For a running subscription product, migration cost dominates. According to the TanStack Start documentation, TanStack Start is a fresh TanStack-native framework — moving a Laravel + Spark production app to TanStack Start is not a weekend job. It is a rewrite of the routing, data layer, and auth boundary.
If you are already on Laravel and you only need one more module (say, attribution), the cheaper path is to add that module to your Laravel app, not migrate to TanStack Ship. The decision changes only when the backlog of "modules I need to build" outpaces the cost of a rewrite.
Decision Tree
Pick Laravel Spark if:
- You already have a Laravel application in production.
- Your near-term roadmap is billing + teams only.
- Your engineering team is PHP-fluent and adding TypeScript is a hiring event, not a training event.
Pick TanStack Ship if:
- You are choosing the stack itself (greenfield, no Laravel app to preserve).
- Your backlog includes 3 or more of: attribution, campaigns, referrals, email automation, MRR reporting.
- You want Cloudflare's edge footprint and D1 / R2 / KV as your substrate.
The honest middle: pick Spark for billing today, and TanStack Ship for a new product line tomorrow. The two are not enemies — they optimize for different layers of the SaaS stack.
The Stack Choice Behind the Stack Choice
There is a meta-decision underneath the framework choice: where does your data live? According to the Cloudflare D1 documentation, D1 is SQLite at the edge with a global read-replica footprint. The Laravel world has its own data-layer choices — MySQL on RDS, Postgres on Supabase, PlanetScale for serverless MySQL. The framework choice locks you into a different data-layer ecosystem, and that choice has cost and operational consequences that outlive the framework decision.
I am not going to argue that one data layer is universally better. The point is: when you compare Laravel Spark and TanStack Ship, you are also comparing the broader stacks each product is built on top of. Be honest about which ecosystem you want to commit to.
The Hiring Question
A framework choice is also a hiring choice. PHP-fluent Laravel developers are easier to find in some markets and harder in others; the same is true for TypeScript + React + Cloudflare specialists. Match the framework to your hiring reality, not to the abstract popularity ranking.
Closing CTA
If your backlog extends beyond billing into attribution, campaigns, referrals, email, and MRR, TanStack Ship's 14-module platform ships those defaults already wired to Stripe + D1 + R2. Start with the free starter on the pricing page or browse other TanStack Ship comparisons before you decide.
For the broader stack decision underneath both products, see the SaaS tech stack 2026 guide and the Cloudflare Workers SSR deep-dive that TanStack Ship is built on. Compare TanStack Ship against other SaaS boilerplates via the comparison hub or the alternatives list before you commit.