How dmitryisaenko/larafoundry works
LaraFoundry is a reusable Laravel SaaS/CRM foundation, not a finished application: it provides authentication, tenancy and authorization primitives, operator-console features, and optional cross-cutting product modules. Users authenticate, work within a company context, and use profile, legal, notification, and support features; operators manage users, companies, and platform activity. The graph preserves documented capabilities even where implementation was not sampled. Edges are limited to explicit README claims or source-index/excerpt references; several module-to-module relationships are therefore omitted.
Main entry points: Tenancy Company tenancy · EmployeeController.php Employee lifecycle · Auth Authentication screens · UserController.php User administration
Components 21
Identity and access
- Authentication
src/Auth - Authentication screens
resources/js/Pages/Auth
Tenancy and roles
- Company tenancy
src/Tenancy - Employee lifecycle
src/Tenancy/Http/Controllers/EmployeeController.php - Roles and permissions
src/Authorization
Operator console
- User administration
src/Admin/Http/Controllers/UserController.php - Company administration
src/Admin/Http/Controllers/CompanyController.php - Admin dashboard
src/Dashboard/Support/DashboardBuilder.php
Shared platform services
- Activity logging
src/ActivityLog - Media library
src/Media/Support/FileStorageManager.php - Billing seam
src/Billing - Settings service
src/Settings/Support/SettingsRepository.php - SEO and sitemap
src/Seo/Support/SeoManager.php - Onboarding checklist
src/Onboarding/Support/OnboardingBuilder.php
User-facing features
- Profile and data rights
src/Profile - Legal and consent
src/Legal/Support/ConsentManager.php - Notifications
src/Notifications - Support tickets
src/Tickets/Http/Controllers/TicketController.php - Email templates
src/Email/Http/Controllers/Admin/EmailTemplateController.php
Other components
- User
- Operator
Connections 21
- User → Authentication screens: starts sign-in
- Authentication screens → Authentication: authenticates
- User → Company tenancy: uses company
- Operator → User administration: manages users
- Operator → Company administration: manages companies
- Operator → Admin dashboard: views metrics
- User administration → Activity logging: records actions
src/Admin/Http/Controllers/UserController.php - Employee lifecycle → Company tenancy: manages members
src/Tenancy/Http/Controllers/EmployeeController.php - Employee lifecycle → Roles and permissions: assigns roles
src/Tenancy/Http/Controllers/EmployeeController.php - User → Profile and data rights: manages account
- User → Legal and consent: records consent
- Legal and consent → Settings service: stores consent
src/Legal/Support/ConsentManager.php - User → Notifications: reads notifications
- User → Support tickets: opens tickets
- Operator → Support tickets: handles tickets
- Operator → Email templates: edits templates
- Admin dashboard → Operator: shows widgets
- Onboarding checklist → User: nudges setup
- SEO and sitemap → User: serves metadata
- Company tenancy → Billing seam: exposes billing seam
src/Tenancy/Models/Company.php - User → Media library: uploads files