Laravel REST API for LaunchBill, an AI-assisted SaaS subscription billing platform.
LaunchBill backend owns authentication, tenant-aware accounts, RBAC, PayFast billing, invoices, webhooks, request logging, audit logs, email notifications, queues, seeders, and REST API responses for the Next.js frontend.
- Laravel REST API.
- Laravel Framework 13.9.0 scaffold.
- MySQL.
- Redis.
- Spatie Permission for RBAC.
- Spatie Media Library where uploads are needed.
- PayFast payments.
- API Resources for frontend responses.
- Services for business logic.
- PHPUnit for core functionality.
- Queue-backed notifications and billing work.
- AI features that respect permissions, tenants, and auditability.
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan testGET /api/v1/statusGET /api/v1/meprotected by Sanctum.
AGENTS.mddocs/backend/BACKEND_SPEC.mddocs/backend/API_ENDPOINTS.mddocs/backend/DATABASE_SCHEMA.mddocs/backend/AUTH_RBAC.mddocs/backend/PAYMENTS_WEBHOOKS.mddocs/backend/QUEUES_AND_JOBS.mddocs/backend/TEST_CHECKLIST.mddocs/ai-features.mddocs/project-checklist.md