How xpertvinay/crm-leads works
This repository appears to be a Laravel, multi-tenant CRM: users capture and qualify leads, work them through pipeline deals, and track marketing attribution. The graph highlights that workflow plus tenancy, WhatsApp, analytics, billing, and compliance capabilities visible in the source tree. The README is Laravel’s generic framework README, not product documentation; several subsystem connections are therefore omitted or shown as unverified rather than inferred from names alone.
Main entry points: PublicLeadCaptureController.php Public capture · LeadIngestionService.php Lead ingestion · LeadController.php Lead operations · TrackingLink.php Links and attribution
Components 16
Lead acquisition
- Public capture
app/Modules/Tracking/Controllers/PublicLeadCaptureController.php - Lead operations
app/Modules/Leads/Controllers/LeadController.php - Lead ingestion
app/Modules/Leads/Services/LeadIngestionService.php - Lead records
app/Modules/Leads/Models/Lead.php - Links and attribution
app/Modules/Tracking/Models/TrackingLink.php
CRM workflow
- Custom fields
app/Modules/CustomFields/Services/CustomFieldValidationService.php - Lead assignment
app/Modules/Leads/Services/LeadAssignmentService.php - Pipeline stages
app/Modules/Pipeline/Models/Pipeline.php - Deals and accounts
app/Modules/Pipeline/Models/Deal.php
Tenant platform
- Tenant access
app/Modules/Tenancy/Context/TenantContext.php - Organizations and users
app/Models/Organization.php
Product extensions
- WhatsApp messaging
app/Modules/Communications/WhatsApp/Controllers/WhatsAppChatController.php - Analytics reports
app/Modules/Analytics/Services/DashboardMetricsService.php - Subscriptions and billing
app/Modules/Subscriptions/Controllers/SubscriptionController.php - Audit and privacy
app/Modules/Compliance/Services/GdprComplianceService.php
Other components
- Prospect
Connections 20
- Prospect → Public capture: submits lead
app/Modules/Tracking/Controllers/PublicLeadCaptureController.php - Public capture → Lead records: creates
app/Modules/Tracking/Controllers/PublicLeadCaptureController.php - Public capture → Lead assignment: assigns lead
app/Modules/Tracking/Controllers/PublicLeadCaptureController.php - Public capture → Custom fields: validates fields
app/Modules/Tracking/Controllers/PublicLeadCaptureController.php - Public capture → Links and attribution: records touchpoint
app/Modules/Tracking/Controllers/PublicLeadCaptureController.php - Lead operations → Lead ingestion: invokes
app/Modules/Leads/Controllers/LeadController.php - Lead ingestion → Custom fields: validates fields
app/Modules/Leads/Services/LeadIngestionService.php - Lead ingestion → Lead assignment: checks membership
app/Modules/Leads/Services/LeadIngestionService.php - Lead ingestion → Lead records: creates lead
app/Modules/Leads/Services/LeadIngestionService.php - Lead ingestion → Links and attribution: records touchpoint
app/Modules/Leads/Services/LeadIngestionService.php - Lead operations → Pipeline stages: uses pipeline
app/Modules/Leads/Controllers/LeadController.php - Lead operations → Deals and accounts: converts lead
app/Modules/Leads/Controllers/LeadController.php - Lead operations → Custom fields: validates fields
app/Modules/Leads/Controllers/LeadController.php - Pipeline stages → Deals and accounts: has stages and deals
app/Modules/Pipeline/Models/Pipeline.php - Organizations and users → Tenant access: provides tenant
app/Modules/Tenancy/Context/TenantContext.php - Tenant access → Lead operations: scopes operations
app/Modules/Leads/Controllers/LeadController.php - Links and attribution → Analytics reports: supports attribution
- WhatsApp messaging → Analytics reports: health metrics
- Subscriptions and billing → Organizations and users: bills organization
- Audit and privacy → Lead records: privacy controls