在 Laravel Breeze 基础上提供 SaaS 常用模块,而非从零搭建
ssk — Vue SaaS模板
作者 axeldotdev
SSK 是一个基于 Laravel 与 Vue 的 SaaS 启动器,在 Laravel Breeze 之上提供登录注册、多租户、协作邀请与功能开关等基础模块。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持邮箱、手机号、Google 与 Microsoft 多种登录注册方式
内置多租户(公司)与协作者邀请机制
通过 app/Features 下的特性标志类按需启用或关闭功能
隐私政策、服务条款与 API 文档均使用本地化 Markdown 文件维护
提供英语与法语两种翻译
模板详细介绍
SSK(SaaS Starter Kit)是一个面向 SaaS 项目的启动模板,技术栈为 Laravel 加 Vue,并通过 Inertia 连接前后端。它的定位是在 Laravel Breeze 之上补充一批 SaaS 常用能力,同时作为作者日常复用的类、枚举、trait 与配置的存放处。
已实现的功能包括:通过邮箱、手机号、Google 或 Microsoft 登录与注册;按注册方式选择邮箱或手机验证;邮箱找回密码;隐私政策与服务条款页面(使用本地化 Markdown 文件);引导流程(账户、公司、协作者);通过邮箱或手机邀请协作者;多租户(公司);API 文档(同样基于本地化 Markdown);英语与法语翻译;以及一组用于开关上述功能的特性标志。
尚未完成的功能在 README 中标注为 coming soon:活跃会话管理、公司所有权转移、双因素认证、基于令牌的 API、带快捷键的全局搜索。
安装流程为克隆仓库后执行 composer install、复制 .env、生成应用密钥、创建存储软链接、运行迁移,再执行 npm install 与构建。默认数据库为 SQLite,会话、缓存与队列也存放在其中;Horizon 已安装并配置,便于将队列切换到 Redis。项目附带 php artisan test 测试命令、升级指南、变更日志与贡献说明。
适合你的项目吗?
适用场景
- 需要快速搭建带多租户与团队协作的 SaaS 项目骨架
- 希望统一管理登录注册、验证与找回密码等认证流程
- 需要在应用内提供基于 Markdown 的 API 文档页面
- 希望用特性标志控制功能开关,逐步启用模块
适合人群
- 熟悉 Laravel 与 Vue、希望复用现成 SaaS 基础模块的开发者
- 需要多租户与协作者邀请能力的 SaaS 项目
- 偏好通过修改代码而非后台配置来调整功能的团队
- 接受以 SQLite 作为默认开发数据库、后续再切换存储的项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
克隆仓库后依次执行 composer install、复制 .env.example 为 .env、php artisan key:generate、php artisan storage:link、php artisan migrate。
- 2
前端依赖使用 npm install,开发时运行 npm run dev,构建时运行 npm run build。
- 3
默认数据库为 SQLite,会话、缓存与队列也存储在其中;Horizon 已配置,可切换到 Redis 队列。
- 4
启用或关闭功能需打开 app/Features 下对应类,修改 resolve 方法返回的布尔值。
- 5
SSO 提供商在 config/socialstream.php 中配置,并在 config/services.php 中注册环境变量。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- SSO 登录默认依赖 Google 与 Microsoft 第三方服务,需在 config/socialstream.php 配置提供商并在 config/services.php 注册相应环境变量(如客户端 ID 与密钥),使用这些登录方式需自行申请并承担第三方账号与费用。
- Horizon 已安装并配置,但若要使用其队列监控能力需将队列切换为 Redis,意味着需要额外部署并运行 Redis 服务。
- 默认使用 SQLite 存储数据库、会话、缓存与队列,仅适合快速起步;生产环境通常需自行迁移到其他数据库与缓存/队列服务。
- 活跃会话管理、公司所有权转移、双因素认证、基于令牌的 API、带快捷键的全局搜索均标注为 coming soon,尚未实现,不能作为现有能力使用。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
SSK comes with Google and Microsoft by default.
README 原文
Horizon is installed and configure so you can switch your queues to redis very quickly.
README 原文
By default the database is **SQLite** and the session, cache and queues are stored in it.
README 原文
https://github.com/axeldotdev/ssk/blob/main/LICENSE.mdhttps://github.com/axeldotdev/ssk/blob/main/README.md- 🔬 Active sessions management *[coming soon]*
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 70 / 100
- 技术栈
- Vue · Laravel
- 网站类型
- SaaS · 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2024-11-18
- 截图检查日期
- 2026-10-03
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 Vue。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 98a175576276dfbac23f6df062de63938f04973c51f7b6484a75520ea2597409
2026-10-03T07:44:42.161Z
来源文件 / 仓库<p align="center">
<img src="https://github.com/axeldotdev/ssk/blob/main/.github/header.png" alt="SSK UI Screenshot" />
</p>
<p align="center">
<a href="https://php.net">
<img alt="PHP 8.2" src="https://img.shields.io/badge/PHP-8.2-777BB4?style=for-the-badge&logo=php">
</a>
<a href="https://laravel.com">
<img alt="Laravel v11.x" src="https://img.shields.io/badge/Laravel-v11.x-FF2D20?style=for-the-badge&logo=laravel">
</a>
<a href="https://inertiajs.com/">
<img alt="Inertia v1.x" src="https://img.shields.io/badge/Inertia-v1.x-846CEE?style=for-the-badge">
</a>
<a href="https://vuejs.org/">
<img alt="Vue v3.x" src="https://img.shields.io/badge/Vue-v3.x-42B883?style=for-the-badge">
</a>
</p>
# SaaS Starter Kit (SSK)
The main goal of SSK is to help you (and me) build app quickly and it brings a ton of cool features on top of Laravel Breeze.
But my other goal is to use it as a storage for all the class, enums, traits, configs and other stuff that I use in every app I work on. And I hope it will be usefull for you too like a big Gist.
You can also use the [Livewire version here](https://github.com/axeldotdev/ssk-livewire).
## Installation
```bash
git clone [email protected]:axeldotdev/ssk.git your-project-name
cd your-project-name
composer install
cp .env.example .env
php artisan key:generate
php artisan storage:link
php artisan migrate
npm install
npm run build # npm run dev
```
By default the database is **SQLite** and the session, cache and queues are stored in it. It allows you to start building your app quickly and focus on the system later.
Horizon is installed and configure so you can switch your queues to redis very quickly.
**SSK** is just a wrapper around **Laravel Breeze** who is a wrapper around **Laravel**. You have all the power to modify it to suit your need.
## Available Features
- 🧑💻 Login and registration with email, phone, Google or Microsoft
- ✅ User verification via email or phone (depending on the sing up method)
- 🔑 Reset password for email
- 📜 Privacy policy and Terms of service pages (with localized markdown files)
- 🤝 Onboarding (account, company, collaborators)
- 🧑💼 Collaborators invitation by email or phone
- 🏁 Multiple tenants (companies)
- 🔬 Active sessions management *[coming soon]*
- 🖋️ Company transfer ownership *[coming soon]*
- 🔐 2FA *[coming soon]*
- 💻 API via token *[coming soon]*
- 🔍 Global search with shortcuts *[coming soon]*
- 📖 API documentation (with localized markdow files)
- 🇺🇸 English and 🇫🇷 French translations
- 🚦 Multiple feature flags (to enable the features listed above)
## Features Flags
To activate or deactivate a feature, you just need to open the class and change the boolean returned in the `resolve` method.
The features are located in the folder `app/Features`.
### SignViaEmail
Allows you to login and register via an email address.
### SignViaPhone
Allows you to login and register via a phone number.
### SignViaSSO
Allows you to login and register via a SSO provider.
You can add providers in the `config/socialstream.php` file and register the env variable in the `config/services.php` file.
SSK comes with Google and Microsoft by default.
### VerifyUser
Allows you to verify the user by email or phone according to his sign method.
### OnboardUser
Allows you to show an onboarding view to help user start using your app and register some important informations.
The onboarding feature just give you a basic system, it's up to you to add forms and other things into it.
### ApiTokens
Allows you to manage API tokens.
It comes with a view that list tokens and a form to create them. The tokens are default Laravel Sanctum tokens scoped on users.
### ApiDocumentation
Allows you to show an API documentation in your app when the user is authenticated.
The API works with markdown file so it's really easy to use, no PHP or Vue to add.
## Upgrading
If you need to upgrade your project to the newer version of SSk, we recommend you to follow [the upgrading guide](UPGRADING.md).
But! SSK is a starter kit and once you use it to init your project, the code is yours and you don't really need to upgrade to follow the newer version.
## Testing
```bash
php artisan test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Need Help?
🐞 If you spot a bug, please [submit a detailed issue](https://github.com/axeldotdev/ssk/issues/new?assignees=&labels=bug&template=bug_report.md), and wait for assistance.
🤔 If you have a question or feature request, please [start a new discussion](https://github.com/axeldotdev/ssk/discussions/new). For quick help, ask questions in the appropriate channel.
🔐 If you discover a vulnerability, please review [our security policy](../../security/policy).
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Axel Charpentier](https://github.com/axeldotdev)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

vitesse
🏕 Opinionated Vite + Vue Starter Template
Vue · 启动器

vitesse-webext
⚡️ WebExtension Vite Starter Template
Vue · 启动器

laravel-vue-spa
A Laravel-Vue SPA starter kit.
Vue · 启动器

vue3-h5-template
vue3-h5-template 是一个面向移动端 H5 项目的启动模板,基于 Vue3、Vite 和 Vant4 构建,同时集成了 TypeScript、Tailwindcss、Pinia、Vue-router 等常用…
Vue · 启动器

tov-template
vite + vue3 + ts 开箱即用现代开发模板 | vite + vue3 + ts out-of-the-box modern development template
Vue · 启动器

shadcn-vue-landing-page
New design 🎉 Vue + Shadcn-vue + TypeScript + Tailwind. Landing page template ease-to-use
Vue · 企业官网
