# venturedrake/laravel-crm architecture

> Architecture diagram of the GitHub repository venturedrake/laravel-crm, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/venturedrake/laravel-crm
- Repository: https://github.com/venturedrake/laravel-crm

## Overview

Laravel CRM is a package that adds a full CRM to a Laravel application or runs as a standalone CRM. The main user workflow spans contact and lead management, sales opportunities, quotes, and fulfillment and billing; the product also provides customer communications, team administration, and configurable pipelines. The tree and README establish these capabilities, but sampled implementation is limited, so the graph shows product surfaces rather than asserting unverified calls between them. Pipeline-stage CRUD and PDF preview behavior are supported by sampled controllers; other feature links are intentionally omitted.

Main entry points: [`resources/views/layouts/app.blade.php`](https://github.com/venturedrake/laravel-crm/blob/master/resources/views/layouts/app.blade.php) (CRM workspace), [`resources/views/people`](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/people) (Contacts), [`resources/views/leads`](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/leads) (Leads), [`resources/views/deals`](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/deals) (Deals)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_sales["Sales pipeline"]
  node_contacts["Contacts"]
  node_organisations["Organisations"]
  node_leads["Leads"]
  node_deals["Deals"]
  node_pipelines["Pipelines"]
  node_pipeline_stages["Pipeline stages"]
end

subgraph group_fulfillment["Orders and billing"]
  node_quotes["Quotes"]
  node_orders["Orders"]
  node_invoices["Invoices"]
  node_purchase_orders["Purchase orders"]
  node_deliveries["Deliveries"]
  node_products["Products"]
end

subgraph group_engagement["Customer engagement"]
  node_activities["Activity feed"]
  node_chat["Web and in-app chat"]
  node_campaigns["Email marketing"]
  node_tasks_notes["Tasks and notes"]
end

subgraph group_admin["CRM administration"]
  node_custom_fields["Custom fields"]
  node_teams_roles["Teams and permissions"]
  node_pipeline_settings["Pipeline settings<br/>[PipelineIndex.php]"]
  node_pdf_preview["PDF template preview"]
  node_xero["Xero integration"]
  node_clicksend["ClickSend integration"]
end

subgraph group_runtime["Application runtime"]
  node_app["CRM workspace<br/>[app.blade.php]"]
end

node_user(("CRM user"))

node_user -->|"uses"| node_app
node_app -->|"offers"| node_contacts
node_app -->|"offers"| node_organisations
node_app -->|"offers"| node_leads
node_app -->|"offers"| node_deals
node_app -->|"offers"| node_pipelines
node_app -->|"offers"| node_pipeline_stages
node_app -->|"offers"| node_quotes
node_app -->|"offers"| node_orders
node_app -->|"offers"| node_invoices
node_app -->|"offers"| node_purchase_orders
node_app -->|"offers"| node_deliveries
node_app -->|"offers"| node_products
node_app -->|"offers"| node_activities
node_app -->|"offers"| node_chat
node_app -->|"offers"| node_campaigns
node_app -->|"offers"| node_tasks_notes
node_app -->|"offers"| node_custom_fields
node_app -->|"offers"| node_teams_roles
node_app -->|"offers"| node_pipeline_settings
node_app -->|"offers"| node_pdf_preview
node_app -.->|"offers"| node_xero
node_app -.->|"offers"| node_clicksend

click node_app "https://github.com/venturedrake/laravel-crm/blob/master/resources/views/layouts/app.blade.php"
click node_contacts "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/people"
click node_leads "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/leads"
click node_deals "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/deals"
click node_pipelines "https://github.com/venturedrake/laravel-crm/blob/master/src/Http/Controllers/PipelineController.php"
click node_pipeline_stages "https://github.com/venturedrake/laravel-crm/blob/master/src/Http/Controllers/PipelineStageController.php"
click node_quotes "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/quotes"
click node_orders "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/orders"
click node_invoices "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/invoices"
click node_purchase_orders "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/purchase-orders"
click node_deliveries "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/deliveries"
click node_products "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/products"
click node_activities "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/livewire/activities"
click node_chat "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/chat"
click node_campaigns "https://github.com/venturedrake/laravel-crm/tree/master/resources/views/email-campaigns"
click node_tasks_notes "https://github.com/venturedrake/laravel-crm/tree/master/resources/v1/views/tasks"
click node_custom_fields "https://github.com/venturedrake/laravel-crm/blob/master/resources/views/components/custom-fields.blade.php"
click node_teams_roles "https://github.com/venturedrake/laravel-crm/tree/master/resources/v1/views/teams"
click node_pipeline_settings "https://github.com/venturedrake/laravel-crm/blob/master/src/Livewire/Settings/Pipelines/PipelineIndex.php"
click node_pdf_preview "https://github.com/venturedrake/laravel-crm/blob/master/src/Http/Controllers/TemplatePreviewController.php"
click node_xero "https://github.com/venturedrake/laravel-crm/blob/master/resources/v1/views/livewire/integrations/xero/xero-connect.blade.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_contacts,node_organisations,node_leads,node_deals,node_pipelines,node_pipeline_stages,node_user toneBlue
class node_quotes,node_orders,node_invoices,node_purchase_orders,node_deliveries,node_products toneAmber
class node_activities,node_chat,node_campaigns,node_tasks_notes toneMint
class node_custom_fields,node_teams_roles,node_pipeline_settings,node_pdf_preview,node_xero,node_clicksend toneRose
class node_app toneIndigo
```

## Components

### Sales pipeline

- [Contacts](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/people): `resources/views/people`
- **Organisations**
- [Leads](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/leads): `resources/views/leads`
- [Deals](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/deals): `resources/views/deals`
- [Pipelines](https://github.com/venturedrake/laravel-crm/blob/master/src/Http/Controllers/PipelineController.php): `src/Http/Controllers/PipelineController.php`
- [Pipeline stages](https://github.com/venturedrake/laravel-crm/blob/master/src/Http/Controllers/PipelineStageController.php): `src/Http/Controllers/PipelineStageController.php`

### Orders and billing

- [Quotes](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/quotes): `resources/views/quotes`
- [Orders](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/orders): `resources/views/orders`
- [Invoices](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/invoices): `resources/views/invoices`
- [Purchase orders](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/purchase-orders): `resources/views/purchase-orders`
- [Deliveries](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/deliveries): `resources/views/deliveries`
- [Products](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/products): `resources/views/products`

### Customer engagement

- [Activity feed](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/livewire/activities): `resources/views/livewire/activities`
- [Web and in-app chat](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/chat): `resources/views/chat`
- [Email marketing](https://github.com/venturedrake/laravel-crm/tree/master/resources/views/email-campaigns): `resources/views/email-campaigns`
- [Tasks and notes](https://github.com/venturedrake/laravel-crm/tree/master/resources/v1/views/tasks): `resources/v1/views/tasks`

### CRM administration

- [Custom fields](https://github.com/venturedrake/laravel-crm/blob/master/resources/views/components/custom-fields.blade.php): `resources/views/components/custom-fields.blade.php`
- [Teams and permissions](https://github.com/venturedrake/laravel-crm/tree/master/resources/v1/views/teams): `resources/v1/views/teams`
- [Pipeline settings](https://github.com/venturedrake/laravel-crm/blob/master/src/Livewire/Settings/Pipelines/PipelineIndex.php): `src/Livewire/Settings/Pipelines/PipelineIndex.php`
- [PDF template preview](https://github.com/venturedrake/laravel-crm/blob/master/src/Http/Controllers/TemplatePreviewController.php): `src/Http/Controllers/TemplatePreviewController.php`
- [Xero integration](https://github.com/venturedrake/laravel-crm/blob/master/resources/v1/views/livewire/integrations/xero/xero-connect.blade.php): `resources/v1/views/livewire/integrations/xero/xero-connect.blade.php`
- **ClickSend integration**

### Application runtime

- [CRM workspace](https://github.com/venturedrake/laravel-crm/blob/master/resources/views/layouts/app.blade.php): `resources/views/layouts/app.blade.php`

### Other components

- **CRM user**

## Connections

- CRM user → CRM workspace: uses
- CRM workspace → Contacts: offers
- CRM workspace → Organisations: offers
- CRM workspace → Leads: offers
- CRM workspace → Deals: offers
- CRM workspace → Pipelines: offers
- CRM workspace → Pipeline stages: offers
- CRM workspace → Quotes: offers
- CRM workspace → Orders: offers
- CRM workspace → Invoices: offers
- CRM workspace → Purchase orders: offers
- CRM workspace → Deliveries: offers
- CRM workspace → Products: offers
- CRM workspace → Activity feed: offers
- CRM workspace → Web and in-app chat: offers
- CRM workspace → Email marketing: offers
- CRM workspace → Tasks and notes: offers
- CRM workspace → Custom fields: offers
- CRM workspace → Teams and permissions: offers
- CRM workspace → Pipeline settings: offers
- CRM workspace → PDF template preview: offers
- CRM workspace → Xero integration: offers
- CRM workspace → ClickSend integration: offers
