v1.2.0 — OAuth, Sanctum API & SaaS Analytics
What's new
OAuth (Google & GitHub)
- Social login on the central app via Laravel Socialite
- Optional — enable with GOOGLE_* / GITHUB_* keys in .env
- 8 PHPUnit tests with mocked providers
Sanctum API
- Central API (/api/auth/token, /api/workspaces)
- Tenant API (/api/auth/token, /api/team) per workspace subdomain
- See docs/api.md
SaaS Analytics (Filament)
- Platform metrics widgets: workspaces, subscriptions, users
- 6-month workspace growth chart
Quality & DX
- 35 PHPUnit tests + 36 smoke checks (scripts/system-test.php)
- CI: fresh migrate:fresh --seed + HTTP smoke test on every push
- migrate:fresh --seed fix (orphan tenant DB cleanup)
- Docker: ports 80 and 8080, OPcache tuning for Windows
- New demo GIF + refreshed screenshots in README
Upgrade
\\�ash
git pull
composer install
php artisan migrate
php artisan tenants:migrate
npm run build
\\
Demo credentials
| Context | URL | Password | |
|---|---|---|---|
| Admin | /admin | admin@laravel-tenant-kit.test | password |
| Demo workspace | demo subdomain | demo@demo.test | password |