Laravel SaaS Kit
Build a SaaS or product website in a fresh Laravel 12 app with Google sign-in, Stripe subscriptions, a customer dashboard, and a multilingual blog. Own and customize the installed source code.
Laravel developers starting a new SaaS or product website who want editable sign-in, billing, customer pages, and admin tools in one application.

Overview
- A Laravel 12 SaaS starter kit that installs a product website into a fresh application.
- Start with marketing pages, a product catalog, Google sign-in, Stripe billing, customer accounts, a blog, and admin tools, then add your product-specific functionality.
- The installed files become your application code. Edit them directly; later package releases do not automatically update those files.
Common Uses
- Build a SaaS with Laravel when you need subscriptions, one-time purchases, or credits alongside a public product site.
- Publish product landing pages and multilingual articles with an admin panel for ongoing content updates.
- Give desktop apps or browser extensions a shared website for Google sign-in, purchases, and customer account management.
Requirements
- A brand-new Laravel 12 application; the installer replaces application files and initial database setup drops existing tables.
- PHP 8.3 or newer and Composer 2.
- Node.js and npm for frontend assets; the kit builds with Node.js 24 in CI.
- MySQL or MariaDB for production; SQLite works for local testing.
- Google OAuth credentials for sign-in and Stripe credentials for billing.
Install
- 1
Create a new application: composer create-project laravel/laravel:^12.0 my-site, then cd my-site.
- 2
composer require n2ns/laravel-saas-kit
- 3
php artisan saas-kit:install --force
- 4
composer dump-autoload
- 5
For this new site, copy .env.example to .env, run php artisan key:generate, and configure the database before migrating.
- 6
Only against the new site database: php artisan migrate:fresh --force.
- 7
php artisan db:seed --class=ReferenceDataSeeder --force
- 8
php artisan passport:keys --force
- 9
php artisan passport:ensure-social-client --create
- 10shell
npm install - 11shell
npm run build
Configure
- 1
Set your app URL, Google OAuth, Stripe, and mail settings in .env. Set starter Stripe product and price IDs before seeding if you already have them.
- 2
For external-client API login, copy the Passport client values printed by passport:ensure-social-client into .env.
- 3
Set ADMIN_EMAILS or ADMIN_EMAIL to your admin Google account, then sign in to the Filament panel.
- 4
Follow the installed NEW_SITE_CHECKLIST.md to replace starter products, plans, branding, legal copy, and deployment paths.
Tools / Commands
- saas-kit:install -- Copies the product-site application into a fresh Laravel project; --force replaces conflicting application files.
- passport:keys -- Generates keys for API authentication.
- passport:ensure-social-client --create -- Creates the client used for external-client API login.
Resources / Settings
- Google sign-in and One Tap, plus token-based login for desktop apps and browser extensions.
- Stripe Checkout, subscriptions, one-time purchases, credits, and the Stripe Customer Portal.
- Customer pages for subscriptions, orders, and account settings; a Filament admin panel for managing the site.
- Product catalog, pricing pages, multilingual blog, sitemap, canonical URLs, alternate-language links, and structured data.
- Built-in visitor and event analytics, plus deployment scripts and server configuration examples.
FAQ
Frequently asked questions and troubleshooting guides.