Cost to Build a SaaS With Laravel: Hours, Formula, Running Costs
The cost to build a SaaS with Laravel, worked out in hours: example estimates per feature, a formula for your own rate, three scenarios and real running costs.
Practical guides from our team on building SaaS products with Laravel. We write about multi-tenancy, architecture, authentication and the frontend choices that come with them.
107 articles
SaaS & operationsBy ERAG··10 min read
The cost to build a SaaS with Laravel, worked out in hours: example estimates per feature, a formula for your own rate, three scenarios and real running costs.
SaaS & operationsBy ERAG··10 min read
Is Laravel good for SaaS? What Laravel gives you out of the box, what you still build, where it's a weak fit, real products on it, and a 2-minute checklist.
Multi-tenancyBy ERAG··12 min read
Which Laravel multi tenancy package to use in 2026: stancl/tenancy v3 and v4, Spatie, Sprout, tenancy/tenancy, Filament and DIY, with real release dates.
Architecture & code qualityBy ERAG··10 min read
Laravel SaaS architecture explained: request flow, tenant identification, central vs tenant data, queues, billing webhooks, admin app and how to grow it.
SaaS & operationsBy ERAG··10 min read
Laravel SaaS examples with sources: products confirmed to run on Laravel, plus open source Laravel SaaS apps on GitHub and the exact files worth reading.
SaaS & operationsBy ERAG··11 min read
15 Laravel SaaS mistakes we see from idea to growth: tenancy, queues, permissions, billing, backups and AI code, with what to do instead and deeper guides.
Architecture & code qualityBy ERAG··11 min read
The Laravel SaaS tech stack we'd pick in 2026, layer by layer: frontend, auth, tenancy, billing, queues, search, monitoring and hosting, with alternatives.
SaaS & operationsBy ERAG··11 min read
Laravel vs Django vs Rails for SaaS in 2026: auth, billing, queues, multi-tenancy, frontend, hosting, AI coding and starter kits, plus a decision table.
Inertia & frontendsBy Annu Gupta··11 min read
Livewire multi tenancy with stancl/tenancy v3: make the update and upload routes tenant-aware, plus assets, wire:navigate, queued jobs, Pest tests and Flux.
Multi-tenancyBy ERAG··10 min read
What multi-tenancy in Laravel means, in plain English: the three tenant models with tiny code samples, how requests find a tenant, and when you don't need it.
SaaS & operationsBy ERAG··12 min read
Laravel per seat billing with Cashier and Stripe: one price, quantity = users, seat counts from the tenant database, proration, minimum seats and webhooks.
Authentication & securityBy Annu Gupta··12 min read
Laravel GDPR for SaaS apps: export a user's data as a ZIP with a queued job and signed URL, delete accounts safely, handle backups, logs, Stripe and tenants.
SaaS & operationsBy ERAG··11 min read
Laravel health check guide: the /up route and DiagnosingHealth, liveness vs readiness, spatie/laravel-health, and checks for tenant databases, queues and certs.
Multi-tenancyBy ERAG··11 min read
Laravel multi tenancy without a package: subdomain middleware, runtime DB switching, tenant migrations, tenant-aware queues, cache and files, and when to stop.
Inertia & frontendsBy Annu Gupta··11 min read
Laravel Precognition with Inertia v3: the middleware, Form Requests, validate(), touch() and validating in Vue, React and Svelte, plus files and migration.
SaaS & operationsBy ERAG··13 min read
Laravel SaaS metrics from your own data: calculate MRR, ARR, churned and expansion MRR, logo vs revenue churn and activation with daily snapshots.
SaaS & operationsBy ERAG··13 min read
Laravel SaaS usage limits per tenant: a plan limits config, a UsageLimitService with check and consume, race-safe counters, monthly resets and Inertia meters.
Multi-tenancyBy ERAG··11 min read
Laravel Scout multi tenant search with Meilisearch and stancl/tenancy: a shared index with tenant filters and tokens, or one index per tenant, plus reindexing.
SaaS & operationsBy ERAG··10 min read
Laravel Spark alternatives compared: what Spark includes, free options like Cashier and Wave, paid SaaS boilerplates, multi-tenant kits and Filament.
Multi-tenancyBy ERAG··12 min read
Laravel teams vs multi tenancy, compared in depth: team_id scoping, the Laravel 13 starter kit teams, Jetstream, tenant databases and how to migrate later.
Multi-tenancyBy ERAG··12 min read
Laravel tenant settings for database-per-tenant apps: a tenant settings table, stancl's data column or spatie/laravel-settings, plus caching and Inertia props.
Multi-tenancyBy ERAG··12 min read
A white label SaaS Laravel guide: per-tenant logos, favicons and brand colors with Tailwind v4 CSS variables, contrast checks, dark mode, emails and PDFs.
AI & developer toolingBy Annu Gupta··6 min read
How to tell if a Laravel SaaS starter kit is AI-ready for Claude Code, Cursor and Codex: rules files, skills, MCP, a clear structure and tests.
AI & developer toolingBy ERAG··7 min read
How we vibe code a Laravel SaaS with Claude Code, Cursor or Codex: setting up the project, writing prompts that work and checking AI code before it ships.
Inertia & frontendsBy Annu Gupta··6 min read
Add light, dark and system dark mode to a Laravel Inertia app and stop the white flash on page load. Works with Tailwind CSS v4 in Vue, React and Svelte.
Multi-tenancyBy Annu Gupta··7 min read
Run scheduled tasks for every tenant in a Laravel SaaS with stancl/tenancy: tenants:run, one queued job per tenant, skipping suspended tenants and time zones.
Authentication & securityBy ERAG··7 min read
Add Sanctum API tokens to a multi-tenant Laravel SaaS with stancl/tenancy: tokens per tenant, abilities, rate limits and the Unauthenticated fix.
Inertia & frontendsBy Annu Gupta··6 min read
Build a drag and drop menu builder in Laravel and Inertia without a package: a menus table, a safe reorder endpoint, SortableJS or dnd-kit and tests.
Inertia & frontendsBy ERAG··5 min read
Customize the shadcn sidebar in a Laravel Inertia starter kit: inset or floating styles, icon collapse, a saved state and a layout per user.
SaaS & operationsBy ERAG··6 min read
How to send transactional emails in a multi-tenant Laravel SaaS: branding per tenant, queues, emails in each user's language, deliverability and testing.
SaaS & operationsBy ERAG··6 min read
How to build and launch a SaaS MVP with Laravel in about a month: what to build and what to skip, the stack, a week-by-week plan and how long it really takes.
SaaS & operationsBy Annu Gupta··6 min read
Onboarding for a multi-tenant Laravel SaaS: tenant setup as a workflow, a short wizard, an onboarded_at check, a checklist and activation.
Inertia & frontendsBy Annu Gupta··10 min read
Filament vs Inertia explained for Laravel SaaS teams: what each tool is for, when one is enough, the cost of running both, and how their multi-tenancy differs.
Inertia & frontendsBy Annu Gupta··11 min read
Set up Inertia SSR in Laravel with Inertia v3: the Vite plugin, dev mode, config keys, browser-only code, Supervisor, deploys and what happens when SSR fails.
Architecture & code qualityBy Annu Gupta··10 min read
Laravel 13 new features from the official release notes: release date, PHP 8.3 minimum, support dates, AI SDK, attributes, queue routing and the upgrade steps.
Authentication & securityBy ERAG··12 min read
Add a Laravel activity log with spatie/laravel-activitylog v5: what to log in a SaaS, what to keep out, an Inertia feed, pruning and multi-tenant storage.
SaaS & operationsBy ERAG··12 min read
Laravel Cloud vs Forge vs Vapor for a database-per-tenant SaaS: wildcard subdomains, custom domains, creating databases, queues, Reverb and cost, as of 2026.
SaaS & operationsBy ERAG··12 min read
Build Laravel database notifications end to end: the notifications table, a notification class, unread count, mark as read and a Vue bell with Inertia.
Users & permissionsBy ERAG··12 min read
Laravel impersonate user the safe way: a small session-based login as another user, an Inertia stop banner, blocked routes, audit logs and tenant tokens.
Inertia & frontendsBy ERAG··12 min read
Build a Laravel Inertia datatable with server-side search, sorting, filters and pagination, state in the URL, Vue and React code, and accessible headers.
Architecture & code qualityBy Annu Gupta··11 min read
Fix the Laravel N+1 query problem: catch it with preventLazyLoading and DB::listen, then fix it with eager loading, withCount, chaperone and Inertia props.
SaaS & operationsBy Annu Gupta··12 min read
Laravel Pennant feature flags for a SaaS: per-tenant scopes, plan features vs Lottery rollouts, where the features table lives, Inertia props and Pest tests.
SaaS & operationsBy Annu Gupta··12 min read
Add Laravel Reverb real-time notifications to your app: install broadcasting, authorize a private channel, listen with Echo and update the bell live.
Authentication & securityBy ERAG··12 min read
Add Laravel Socialite Google login to an Inertia app: Google Cloud setup, a social_accounts table, verified email matching, 2FA, and multi-tenant callbacks.
SaaS & operationsBy ERAG··10 min read
Laravel vs Next.js for building a SaaS: auth, queues, billing, tenancy and hosting compared honestly, plus why Laravel with Inertia and React is a middle path.
Inertia & frontendsBy Annu Gupta··12 min read
Livewire vs Inertia for a Laravel SaaS in 2026: how each one works, team skills, components, SSR, real-time, testing, and a decision table to help you pick.
Multi-tenancyBy ERAG··11 min read
stancl tenancy vs spatie multitenancy, compared neutrally: identification, databases, bootstrappers vs tasks, tenant creation, queues, commands and testing.
AI & developer toolingBy Annu Gupta··8 min read
AI coding in Laravel that holds up in review: guideline files, skills and MCP for context, well-sized tasks, tests as guardrails and a review checklist.
Multi-tenancyBy ERAG··6 min read
How to delete a tenant in Laravel safely: what stancl/tenancy removes, what it leaves behind, the soft delete trap, and a deletion flow you can retry.
SaaS & operationsBy ERAG··7 min read
Deploy a Laravel SaaS step by step: server needs, wildcard DNS and TLS, a deploy script with tenant migrations, queue workers with Supervisor and the scheduler.
SaaS & operationsBy ERAG··8 min read
A practical SaaS pricing guide for developers: value metrics, pricing models, tiers, trials vs freemium, annual plans, and how to turn plans into code.
Inertia & frontendsBy Annu Gupta··7 min read
Show an Inertia flash message as a toast after a Laravel redirect: Inertia::flash(), the flash event, typed payloads and Vue, React and Svelte examples.
Inertia & frontendsBy ERAG··8 min read
A practical guide to the Inertia Form component: field names, errors, slot props, reset and dirty state, file uploads, events and when to use useForm instead.
Inertia & frontendsBy Annu Gupta··8 min read
Inertia v3 for Laravel explained: the new Vite plugin, useHttp, optimistic updates, instant visits, layout props, breaking changes and an upgrade checklist.
Inertia & frontendsBy Annu Gupta··7 min read
How Inertia layouts work: persistent, nested and default layouts, plus layout props with setLayoutProps, with Vue, React and Svelte examples for Laravel apps.
AI & developer toolingBy ERAG··7 min read
Laravel Boost gives AI coding agents real context on your app: what boost:install writes, guidelines, skills, the MCP tools and how to keep it all up to date.
Architecture & code qualityBy ERAG··7 min read
A practical spatie laravel data guide: build typed Data objects, validate requests, map snake_case fields, handle relations and send clean props to Inertia.
Authentication & securityBy ERAG··6 min read
Laravel email verification explained: MustVerifyEmail, signed links, the verified middleware, Fortify routes, a resend page and handling email changes.
Authentication & securityBy ERAG··7 min read
A Laravel Fortify tutorial for Inertia apps: install Fortify, pick features, render Inertia pages and wire up login, registration and password reset.
SaaS & operationsBy ERAG··7 min read
Set up Laravel Herd subdomains for a multi-tenant app: .test domains, herd link and herd secure, APP_URL and SESSION_DOMAIN, alternatives and common pitfalls.
Users & permissionsBy ERAG··8 min read
Handle Laravel Inertia permissions on the frontend: define menu items with a permission, filter them on the server and render only what each user can open.
LocalizationBy Annu Gupta··7 min read
How to handle Laravel Inertia translations: share PHP lang files with Vue, React or Svelte, set the locale per user, translate validation and plurals.
Architecture & code qualityBy ERAG··6 min read
Set up Larastan and Pint in a Laravel project: code style presets, PHPStan levels, baselines, Laravel-specific rules and a simple local and CI workflow.
Authentication & securityBy Annu Gupta··8 min read
A Laravel login throttle guide: how Fortify limits sign-ins, choosing a throttle key, layered limits, friendly errors for Inertia and other auth routes.
SaaS & operationsBy ERAG··7 min read
A Laravel database backup strategy for database-per-tenant SaaS apps: what to back up, dumping every tenant, retention, and restoring a single customer.
Multi-tenancyBy ERAG··7 min read
A Laravel multi-tenancy subdomain guide for stancl/tenancy: identification middleware, central domains, tenant routes, sessions, wildcard DNS and links.
SaaS & operationsBy Annu Gupta··8 min read
Laravel maintenance mode in a multi-tenant SaaS: php artisan down options, bypass cookies on subdomains, and pausing all workspaces or a single tenant.
Multi-tenancyBy ERAG··8 min read
How Laravel tenancy queue jobs keep their tenant: the stancl queue bootstrapper, a central jobs table, dispatching per tenant, URLs, locks and scheduling.
Authentication & securityBy Annu Gupta··8 min read
Set up Laravel multiple guards for admins and customers: auth.php config, admin login, route middleware, redirects, logout, Inertia props and Fortify.
Authentication & securityBy ERAG··8 min read
How Laravel passkeys work with WebAuthn and Fortify: the register and login flows, relying party and allowed origins for subdomains, and password fallback.
Authentication & securityBy ERAG··7 min read
Laravel password rules explained: Password::defaults(), length vs complexity, breached-password checks, passwordrules hints and password confirmation.
Users & permissionsBy ERAG··7 min read
Build a Laravel permissions seeder driven by config files: file layout, idempotent seeding, role defaults, pruning old permissions, tenants and safe deploys.
Users & permissionsBy ERAG··7 min read
Define Laravel default roles in an enum, seed them safely and block renames and deletes on the server with a policy, a model guard and clear UI badges.
Inertia & frontendsBy Annu Gupta··7 min read
Laravel React Inertia guide for SaaS apps: typed page components, static layout props, withApp providers, useForm, ref-as-prop modals and the React Compiler.
Architecture & code qualityBy Annu Gupta··7 min read
An honest look at the Laravel repository pattern: when a repository earns its place, when it only adds noise, and lighter options like scopes and builders.
Users & permissionsBy ERAG··7 min read
A practical Laravel Spatie permission guide: roles, permissions and guards, assigning and checking them, super admins, caching, seeding and Inertia UI checks.
SaaS & operationsBy ERAG··7 min read
Should you start from a Laravel SaaS boilerplate or build from scratch? The work involved, hidden costs on both sides and a checklist to help you decide.
SaaS & operationsBy ERAG··8 min read
A SaaS launch checklist for Laravel apps: product, security, billing, legal pages, operations, monitoring and support, with links to detailed guides for each.
Authentication & securityBy Annu Gupta··8 min read
A Laravel SaaS security checklist: authentication, sessions, tenant isolation, authorization, data exposure, secrets, uploads, dependencies and monitoring.
SaaS & operationsBy ERAG··7 min read
What a Laravel SaaS starter kit should include, how to compare kits and what to check before you buy: multi-tenancy, auth, permissions, license and updates.
SaaS & operationsBy ERAG··8 min read
Add Laravel Stripe subscription billing to a multi-tenant SaaS with Cashier: bill the tenant, Checkout, webhooks, plan gating, the billing portal and tax.
Architecture & code qualityBy ERAG··7 min read
Laravel Pest testing for SaaS apps: what to test, setup, feature tests, permissions, Inertia pages, datasets, fakes, architecture tests and a fast suite.
Architecture & code qualityBy ERAG··8 min read
The Laravel service layer explained: what belongs in a service class, how to use transactions, when to send emails and jobs, and mistakes to avoid.
Users & permissionsBy ERAG··7 min read
Build a Laravel super admin role with Spatie: Gate::before or Gate::after, checks the bypass misses, the first super admin and how to stop privilege escalation.
Inertia & frontendsBy Annu Gupta··7 min read
Laravel Svelte 5 tutorial with Inertia v3: runes in pages, module-script layout props, the reactive page object, snippets in forms and shared .svelte.ts state.
Multi-tenancyBy ERAG··7 min read
How Laravel tenancy cache and file storage stay separate per tenant: cache tags, supported stores, calls that skip scoping, tenant disks, S3 and public URLs.
Multi-tenancyBy ERAG··7 min read
Add a Laravel tenant custom domain the safe way: storing and verifying domains, customer DNS, TLS certificates on demand, sessions, passkeys and links.
Multi-tenancyBy ERAG··8 min read
Laravel tenant migrations and seeders with stancl/tenancy: central vs tenant folders, tenants:migrate, safe deployments, idempotent seeders and fixing failures.
Architecture & code qualityBy ERAG··7 min read
How to write Laravel thin controllers: the four jobs a controller has, Form Requests, authorization attributes, clean responses and a fat controller refactor.
Authentication & securityBy ERAG··8 min read
Laravel two factor authentication with Fortify: how TOTP works, the enable, QR code and confirm flow, recovery codes, the login challenge and security tips.
Architecture & code qualityBy ERAG··8 min read
Use the Laravel TypeScript transformer to turn PHP classes, enums and laravel-data objects into TypeScript types, with setup, attributes, writers and CI tips.
Users & permissionsBy ERAG··7 min read
Build a secure Laravel user invitation flow with temporary signed URLs, the signed middleware, queued emails, expiring single-use links and an accept page.
LocalizationBy ERAG··8 min read
Store a Laravel user locale, validate and save the choice, apply it on every request and send emails and queued notifications in each user's language.
LocalizationBy ERAG··7 min read
Laravel validation messages translation explained: the lookup order, lang files for every locale, field names, custom messages, arrays and custom rules.
Inertia & frontendsBy ERAG··7 min read
A Laravel Vue Inertia walkthrough for SaaS dashboards: typed props, layout breadcrumbs, a debounced search, useForm, modal refs and permission checks in Vue 3.
Architecture & code qualityBy Annu Gupta··8 min read
How Laravel Wayfinder turns your routes and controllers into typed TypeScript functions: setup, the Vite plugin, .url(), parameters, forms and practical tips.
Architecture & code qualityBy ERAG··7 min read
A practical guide to Laravel modular architecture for SaaS: feature modules, service providers that load routes, one-way dependencies and adding a module.
Multi-tenancyBy ERAG··7 min read
How to build a multi-tenant SaaS application with Laravel: single database vs database per tenant, setting up stancl/tenancy, and the pitfalls to avoid.
LocalizationBy Annu Gupta··8 min read
Plan a multilingual Laravel app: what to translate, URL strategy and hreflang SEO, database content, dates and currencies, right-to-left text and workflow.
Inertia & frontendsBy Annu Gupta··6 min read
shadcn Laravel guide: set up shadcn/ui, shadcn-vue or shadcn-svelte in an Inertia app, configure components.json, theme with Tailwind v4 and wrap form fields.
Multi-tenancyBy Annu Gupta··8 min read
Single database vs multi database tenancy in Laravel: the decision factors, costs, scaling, cross-tenant reporting and how to move between models later.
Multi-tenancyBy ERAG··7 min read
A hands-on stancl tenancy tutorial: install stancl/tenancy 3, create a Tenant model, add tenant migrations and routes, and create your first tenant database.
SaaS & operationsBy Annu Gupta··8 min read
Stripe vs Paddle vs Lemon Squeezy for a Laravel SaaS: merchant of record vs payment processor, who handles sales tax and VAT, and the Laravel package for each.
SaaS & operationsBy ERAG··7 min read
How to suspend a SaaS account the right way: status fields, blocking middleware, what stays reachable, background jobs, customer messages and reactivation.
Multi-tenancyBy Annu Gupta··7 min read
How to test Laravel tenancy with Pest: test database setup, creating tenants, isolation tests, tenant domains, fakes, cache and files, and faster test runs.
AI & developer toolingBy Annu Gupta··7 min read
A git upstream merge workflow for starter kits: set up origin and upstream, preview changes, merge on a branch, resolve conflicts and run the post-merge steps.
Inertia & frontendsBy Annu Gupta··6 min read
How to choose between Vue, React and Svelte for a Laravel SaaS built with Inertia: what really changes, an honest comparison and a simple decision guide.