How krayin/laravel-crm works
Krayin is a modular Laravel CRM for managing customer relationships and the customer lifecycle. The principal workflow is administering leads through configurable pipelines and stages; the sampled controller validates requests and delegates pipeline changes to its repository, which creates or updates stages. The README also documents dashboard reporting, custom attributes, email parsing, and the admin panel, while the tree shows contacts, products, quotes, marketing, workflows, web forms, and importing. Those major capabilities are represented, but their internal wiring is not inferred from the limited sampled source.
Main entry points: PipelineController.php Pipeline management · PipelineRepository.php Pipeline repository · database.php Database configuration · Storage.php Person import lookup
Components 23
Sales lifecycle
- Pipeline management
packages/Webkul/Admin/src/Http/Controllers/Settings/PipelineController.php - Pipeline repository
packages/Webkul/Lead/src/Repositories/PipelineRepository.php - Pipeline model
packages/Webkul/Lead/src/Models/Pipeline.php - Pipeline validation
packages/Webkul/Admin/src/Http/Requests/PipelineForm.php - Pipeline listing
packages/Webkul/Admin/src/DataGrids/Settings/PipelineDataGrid.php - Lead management
packages/Webkul/Lead/src - Quotes
packages/Webkul/Quote/src
Customer records
- People and organizations
packages/Webkul/Contact/src - Product catalog
packages/Webkul/Product/src
Engagement
- Activities and files
packages/Webkul/Activity/src - Email and parsing
packages/Webkul/Email/src - Campaigns and events
packages/Webkul/Marketing/src
Admin and insights
- Dashboard and reports
packages/Webkul/Admin/src/Http/Controllers/DashboardController.php - Custom attributes
packages/Webkul/Attribute/src - CRM settings
packages/Webkul/Admin/src/Routes/Admin/settings-routes.php - Workflows and forms
packages/Webkul/Automation/src - Web forms
packages/Webkul/WebForm/src
Data and integrations
- Data transfer
packages/Webkul/DataTransfer/src - Person import lookup
packages/Webkul/DataTransfer/src/Helpers/Importers/Persons/Storage.php - Lead import lookup
packages/Webkul/DataTransfer/src/Helpers/Importers/Leads/Storage.php - SKU import lookup
packages/Webkul/DataTransfer/src/Helpers/Importers/Products/SKUStorage.php - Database configuration
config/database.php
Other components
- CRM administrator
Connections 10
- CRM administrator → Pipeline management: manages pipeline
- Pipeline management → Pipeline validation: validates request
- Pipeline management → Pipeline repository: creates or updates
- Pipeline repository → Pipeline model: persists pipeline
- Pipeline management → Pipeline listing: processes listing
- Pipeline management → Database configuration: queries records
- Pipeline repository → Database configuration: persists stages
- Person import lookup → People and organizations: loads person records
- Lead import lookup → Lead management: loads lead records
- SKU import lookup → Product catalog: loads product records