Laravel SaaS Kit
A Laravel starter kit that installs a complete product website with pricing, sign-in, Stripe payments, a customer area and an admin panel.
What it does
A website that sells software needs much more than a landing page: product and pricing pages, sign-in, payments, a customer account area, an admin panel and an API for the product's own apps. Laravel SaaS Kit provides all of this as one working codebase. A single install command copies the complete site into a new Laravel 12 project and merges the settings the site needs into the project's existing Composer configuration. From then on, developers change it like any other code of their own.
What the website includes
- Public pages in four languages. Home, about, support, legal, product list, product detail and pricing pages and a blog, in English, Spanish, German and Chinese, with sitemap generation.
- Sign-in and customer account area. Google sign-in, including Google One Tap, and an account area where customers see their subscriptions and orders and manage their settings.
- Payments with Stripe. Stripe Checkout and the Stripe customer portal, with automatic handling of payments, refunds and subscription changes. Plans can be subscriptions, one-time purchases or credit packs.
- Admin panel. A Filament admin panel for users, products, plans, orders, subscriptions, blog posts, API keys and Stripe events, with visit analytics. Only designated administrators can open it.
- An API for your own apps. Apps and browser extensions can sign users in with Google, manage device sessions, check licenses and subscriptions, report usage and open the website with the user already signed in.
- Blog API. Blog posts can be listed, created, updated and deleted through an API protected by an API key.
- Sample data. Seed data with one product and Free, Plus and 10 Credits plans, so the site can be explored right after installation.
Who it is for
Solo developers and small teams who want to launch a product website that can take payments as soon as possible, without building sign-in, billing and administration from scratch.
What you need
- A new Laravel 12 project, PHP 8.3 or later, Composer, and Node.js with npm to build the front end. The installer is meant for a fresh project: it replaces folders such as app, config, resources and routes with those of the kit.
- A Google OAuth client for sign-in, a Stripe account for payments, and mail and file storage settings.
- After installation, enter these values in the environment file, set up the database and the keys needed for sign-in, and build the front end. The installer prints these steps, and the full commands are listed below.
Laravel SaaS Kit is open source under the MIT license.
Install
composer create-project laravel/laravel:^12.0 my-site
cd my-site
composer require n2ns/laravel-saas-kit
php artisan saas-kit:install --force
cp .env.example .env # then set Google, Stripe and mail values
php artisan key:generate
php artisan migrate:fresh --force --seed
php artisan passport:keys
php artisan passport:ensure-social-client --create
npm install && npm run build