How crm-heroes/heroes-crm works
Heroes CRM is a Laravel 10 and Vue 3 CRM. A representative user workflow is managing a project pipeline and assigning prospect labels through its API; the README also identifies queued work for integrations, imports, email, documents, media, and SMS. The tree shows broader order, campaign, questionnaire, reporting, and prospect-facing capabilities. Source excerpts establish the pipeline and Pipedrive relationships, but not most unsampled routes or job dispatches, so those branches are shown without inferred call edges.
Main entry points: Prospect/PipelineController.php Prospect pipeline API · Project/PipelineController.php Pipeline API · Project.php Project records · Pipeline.php Pipeline records
Components 30
API and interface
- Project API
app/Http/Controllers/API/ProjectController.php - Pipeline interface
resources/js/components/pipeline/list/Pipeline.vue - Pipeline API
app/Http/Controllers/API/Project/PipelineController.php - Prospect pipeline API
app/Http/Controllers/API/Project/Prospect/PipelineController.php
CRM records
- Project records
app/Models/Project.php - Prospect records
app/Models/Prospect.php - Pipeline records
app/Models/Pipeline.php - Label records
app/Models/Label.php - Role records
app/Models/Role.php - User records
app/Models/User.php - Order records
app/Models/Order.php - Interaction records
app/Models/Interaction.php - Import records
app/Models/Import.php
CRM workflows
- Campaign automation
app/Console/Commands/Campaign.php - Documents and invoices
app/Http/Controllers/API/Project/DocumentController.php - Questionnaires
app/Http/Controllers/API/Project/QuestionnaireController.php - Prospect import
app/Jobs/ImportProspects.php - Prospect label event
app/Events/ProspectLabelAttached.php
External integrations
- Pipedrive API
app/Http/Controllers/API/Project/PipedriveController.php - Pipedrive client
app/Services/Pipedrive.php - Pipedrive accounts
app/Models/PipedriveAccount.php - Google integrations
app/Http/Controllers/Google/DriveController.php - Messaging integrations
app/Channels/UltramsgChannel.php - Pipedrive jobs
app/Jobs/Pipedrive/PersonAdd.php
Analytics and tracking
- CRM statistics
app/Http/Controllers/API/Project/StatController.php - Query filters
app/Filters/Filters.php - Project settings
app/Utils/ProjectSetting.php - Activity tracking
app/Utils/Tracker/Tracker.php - Route tracking
app/Utils/Tracker/Route.php
Other components
- CRM user
Connections 18
- Pipeline API → Project records: queries project
app/Http/Controllers/API/Project/PipelineController.php - Pipeline API → Pipeline records: reads and updates
app/Http/Controllers/API/Project/PipelineController.php - Project records → Pipeline records: has many
app/Models/Project.php - Pipeline records → Label records: has labels
app/Models/Pipeline.php - Prospect pipeline API → Prospect records: updates labels
app/Http/Controllers/API/Project/Prospect/PipelineController.php - Prospect pipeline API → Pipeline records: checks membership
app/Http/Controllers/API/Project/Prospect/PipelineController.php - Prospect pipeline API → Label records: attaches label
app/Http/Controllers/API/Project/Prospect/PipelineController.php - Prospect pipeline API → Project records: validates project
app/Http/Controllers/API/Project/Prospect/PipelineController.php - Prospect pipeline API → Prospect label event: dispatches event
app/Http/Controllers/API/Project/Prospect/PipelineController.php - Pipedrive API → Pipedrive client: uses client
app/Http/Controllers/API/Project/PipedriveController.php - Pipedrive API → Pipedrive accounts: uses account
app/Http/Controllers/API/Project/PipedriveController.php - Pipedrive API → Pipedrive jobs: dispatches jobs
app/Http/Controllers/API/Project/PipedriveController.php - Prospect records → Query filters: applies filters
app/Models/Prospect.php - Project records → Query filters: applies filters
app/Models/Project.php - Route tracking → Activity tracking: uses tracker
app/Utils/Tracker/Route.php - CRM user → Pipeline interface: uses interface
- Pipeline interface → Pipeline API: requests pipeline data
- Project API → Pipeline API: routes requests