TenantKit is a production-ready multi-tenant SaaS boilerplate for Laravel that handles everything a SaaS needs before it can charge its first customer. Tenancy, teams, roles, subscriptions, trials, invoices, impersonation and a full admin panel are already written and tested, so you can spend your time on the features that make your product different.
Key Highlights
- Single-database, row-level multi-tenancy that fails closed
- Teams with invitations, roles and granular permissions
- Subscriptions with free trials, proration, seats and coupons
- PDF invoices with your company details and the customer tax ID
- Admin panel with MRR, churn and customer impersonation
- 400+ Pest tests, including a tenancy isolation suite
Tenancy That Does Not Leak
- Global tenant scope applied automatically: a query that forgets the tenant returns nothing instead of everything
- Subdomain and custom domain resolution, with certificate provisioning notes for both
- Tenant-scoped file storage, cache keys and queued jobs
- Tests that try to cross the tenant boundary and prove they cannot
Teams and Permissions
- Users belong to several teams and switch between them without logging out
- Email invitations with expiry, resend and revoke
- Owner, admin and member roles with permissions editable per team and per plan
- Ownership transfer and rules that stop a team from losing its last owner
Billing and Subscriptions
- Monthly and yearly plans with feature flags and hard usage limits
- Trials without a card, plus grace period, dunning emails and a downgrade path
- Proration on upgrade, seat-based pricing and coupons
- Downloadable PDF invoices with sales tax, VAT and reverse charge support
- Idempotent webhook handling, because payment webhooks can arrive twice
Admin Panel
- Every tenant, user and subscription in one place
- MRR, ARR, churn and trial figures on the dashboard
- Impersonation with a banner the admin cannot miss and an audit entry they cannot avoid
- Plans, coupons, invoices, failed payments and webhook logs
Security and Accounts
- Two-factor authentication with recovery codes
- Session management across devices
- API tokens with scopes
- Activity log for every team-visible action
Developer Friendly
- Billing behind a driver layer, so a local payment gateway can replace Stripe
- Clean Laravel structure with an architecture guide that explains every decision
- Light and dark themes on every page
- A marketing landing page you can launch with
Technology Stack
- Backend: Laravel 12, PHP 8.3+
- Frontend: Livewire 3 + Tailwind CSS 4
- Authentication: Laravel Fortify + Sanctum
- Billing: Laravel Cashier behind a billing driver layer
- Testing: Pest, 400+ tests
Also Included
- Full source code with a licence to build and sell your own SaaS on it
- Architecture guide
- 12 months of updates
- Website with pricing, FAQ, docs and legal pages