Backend2024
Multi-Tenant CRM API
REST API powering a CRM with database-per-tenant isolation, Stripe billing, and role-based permissions via Spatie.
❯ overview
A production-grade REST API for a CRM platform where each business tenant gets a fully isolated database. The multi-tenancy is handled via automatic tenant detection from subdomain/header, dynamic database connection switching, and scoped Eloquent models that make it impossible to accidentally leak data across tenants. Subscription billing is handled with Stripe and webhooks for subscription lifecycle events. Spatie permissions gives granular role-based access control at both the tenant and user level.
❯ gallery
❯ key features
- ✓ Database-per-tenant isolation with dynamic connections
- ✓ Subdomain-based tenant detection
- ✓ Stripe subscription billing with webhook handlers
- ✓ Spatie role/permission system per tenant
- ✓ Sanctum token authentication
- ✓ Scoped Eloquent models for data safety
❯ metrics
3Tenant Isolation Layers
25+API Endpoints
0Data Leaks
99.9%Uptime SLA
❯ tech stack
All Projects LaravelMySQLStripeSanctumSpatie PermissionsRedis
❯ more projects
SaaS / AI
E-Commerce
Open Source
SP360 — Service Management SaaS
Multi-tenant SaaS platform for service providers at Smart Provider LLC. AI-powered automation pipelines cut manual data entry by 60%.
Full-Featured E-Commerce Platform
End-to-end online store with product catalog, cart management, Stripe payment integration, order tracking, and a full admin dashboard.
Laravel API Boilerplate
Production-ready Laravel 11 API starter kit with Sanctum auth, RBAC, rate limiting, Telescope, PHPUnit test suite, and Docker setup.