Live Chat reference
Developer reference for capell-app/live-chat. Start with the README for what the extension does and how to install it.
Package Details
Section titled “Package Details”Live Chat is an Available Capell package in the Capell Engagement & CRM product group. It ships as capell-app/live-chat and extends these surfaces: admin, frontend.
- Status: Available
- Tier: paid
- Bundle: engagement-crm
- Composer package:
capell-app/live-chat - Namespace:
Capell\LiveChat - Theme key: not applicable
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\LiveChat\Providers\MigrationMetadataServiceProviderCapell\LiveChat\Providers\LiveChatServiceProvider
Config files
Section titled “Config files”packages/live-chat/config/capell-live-chat.php
Migrations
Section titled “Migrations”packages/live-chat/database/migrations/2026_06_13_000001_create_live_chat_conversations_table.phppackages/live-chat/database/migrations/2026_06_13_000002_create_live_chat_messages_table.phppackages/live-chat/database/migrations/2026_06_13_000003_create_live_chat_availability_tables.phppackages/live-chat/database/migrations/2026_06_13_000004_create_live_chat_rules_and_sources_table.phppackages/live-chat/database/migrations/2026_06_13_000005_create_live_chat_installations_table.phppackages/live-chat/database/migrations/2026_06_13_000006_create_live_chat_ai_source_tables.phppackages/live-chat/database/migrations/2026_07_10_000001_add_normalized_scope_key_to_live_chat_knowledge_gaps.phppackages/live-chat/database/migrations/2026_10_22_000001_create_live_chat_attachment_cleanup_table.phppackages/live-chat/database/migrations/2026_11_04_000001_add_operator_assignment_to_live_chat_tables.php
Models
Section titled “Models”LiveChatAIRunLiveChatAvailabilityExceptionLiveChatAvailabilityWindowLiveChatConversationLiveChatEscalationRuleLiveChatInstallationLiveChatKnowledgeDocumentLiveChatKnowledgeGapLiveChatKnowledgeSourceLiveChatMessage
Filament classes
Section titled “Filament classes”LiveChatClusterAvailabilityExceptionResourceCreateAvailabilityExceptionEditAvailabilityExceptionListAvailabilityExceptionsAvailabilityWindowResourceCreateAvailabilityWindowEditAvailabilityWindowListAvailabilityWindowsScopesLiveChatResourcesToSitesConversationResourceEditConversationListConversationsMessagesRelationManagerEscalationRuleResourceCreateEscalationRuleEditEscalationRuleListEscalationRulesInstallationResourceCreateInstallationEditInstallationListInstallationsKnowledgeSourceResourceCreateKnowledgeSourceEditKnowledgeSourceListKnowledgeSources
Route files
Section titled “Route files”packages/live-chat/routes/web.php
Policies
Section titled “Policies”AbstractLiveChatResourcePolicyLiveChatAIRunPolicyLiveChatAvailabilityExceptionPolicyLiveChatAvailabilityWindowPolicyLiveChatConversationPolicyLiveChatEscalationRulePolicyLiveChatInstallationPolicyLiveChatKnowledgeDocumentPolicyLiveChatKnowledgeGapPolicyLiveChatKnowledgeSourcePolicy
Extension contracts
Section titled “Extension contracts”LiveChatKnowledgeProviderLiveChatResponderLiveChatWidgetRenderer
Actions
Section titled “Actions”ApplyLiveChatCorsHeadersActionAssignLiveChatConversationActionBuildLiveChatAnalyticsActionBuildLiveChatAttachmentDownloadUrlActionBuildLiveChatOperatorStateActionBuildLiveChatOperatorTranscriptActionBuildLiveChatPrivacyExportActionBuildLiveChatSuggestedReplyActionBuildLiveChatTranscriptActionBuildLiveChatVisitorMessagesActionBuildLiveChatWidgetConfigActionCloseLiveChatConversationActionDeleteLiveChatAttachmentsActionDeleteLiveChatConversationsActionDetectLiveChatIntentActionDetermineLiveChatEscalationActionEnterLiveChatHumanQueueActionEraseLiveChatPrivacyDataActionGenerateLiveChatSummaryActionGuardLiveChatInstallationOriginActionGuardLiveChatSameSiteRequestActionIndexLiveChatKnowledgeDocumentActionIndexLiveChatKnowledgeSourceActionListLiveChatVisitorUpdatesActionNotifyLiveChatStaffActionPresentLiveChatMessageAttachmentsActionPruneLiveChatConversationsActionRecordLiveChatAIRunActionRecordLiveChatKnowledgeGapActionReplyToLiveChatMessageActionRepointMergedContactConversationsActionRequestLiveChatHandoffActionResolveLiveChatAssigneeActionResolveLiveChatAvailabilityActionResolveLiveChatConversationForInstallationActionResolveLiveChatGlobalAdminsActionResolveLiveChatInstallationActionResolveLiveChatPrivacyConversationIdsActionRetryLiveChatAttachmentCleanupActionSearchLiveChatKnowledgeDocumentsActionSeedLiveChatScreenshotFixtureActionSendLiveChatOperatorReplyActionStartLiveChatConversationActionStoreLiveChatAttachmentsActionStoreLiveChatMessageActionSuggestLiveChatHumanReplyActionSyncLiveChatConversationContactActionValidateLiveChatAttachmentAction
Data objects
Section titled “Data objects”IncomingLiveChatMessageDataLiveChatAIRunDataLiveChatAvailabilityDataLiveChatEscalationDecisionDataLiveChatKnowledgeDocumentDataLiveChatKnowledgeSearchResultDataLiveChatResponseDataLiveChatVisitorDataLiveChatWidgetConfigData
Command signatures
Section titled “Command signatures”capell:live-chat-screenshot-fixturecapell:live-chat:prune
Manifest action API
Section titled “Manifest action API”buildLiveChatAnalytics: Capell\LiveChat\Actions\BuildLiveChatAnalyticsActionbuildLiveChatOperatorState: Capell\LiveChat\Actions\BuildLiveChatOperatorStateActionbuildLiveChatSuggestedReply: Capell\LiveChat\Actions\BuildLiveChatSuggestedReplyActionbuildLiveChatTranscript: Capell\LiveChat\Actions\BuildLiveChatTranscriptActionbuildLiveChatWidgetConfig: Capell\LiveChat\Actions\BuildLiveChatWidgetConfigActioncloseLiveChatConversation: Capell\LiveChat\Actions\CloseLiveChatConversationActiondetectLiveChatIntent: Capell\LiveChat\Actions\DetectLiveChatIntentActiondetermineLiveChatEscalation: Capell\LiveChat\Actions\DetermineLiveChatEscalationActiongenerateLiveChatSummary: Capell\LiveChat\Actions\GenerateLiveChatSummaryActionguardLiveChatInstallationOrigin: Capell\LiveChat\Actions\GuardLiveChatInstallationOriginActionguardLiveChatSameSiteRequest: Capell\LiveChat\Actions\GuardLiveChatSameSiteRequestActionindexLiveChatKnowledgeDocument: Capell\LiveChat\Actions\IndexLiveChatKnowledgeDocumentActionindexLiveChatKnowledgeSource: Capell\LiveChat\Actions\IndexLiveChatKnowledgeSourceActionrecordLiveChatAIRun: Capell\LiveChat\Actions\RecordLiveChatAIRunActionrecordLiveChatKnowledgeGap: Capell\LiveChat\Actions\RecordLiveChatKnowledgeGapActionreplyToLiveChatMessage: Capell\LiveChat\Actions\ReplyToLiveChatMessageActionrequestLiveChatHandoff: Capell\LiveChat\Actions\RequestLiveChatHandoffActionresolveLiveChatAvailability: Capell\LiveChat\Actions\ResolveLiveChatAvailabilityActionresolveLiveChatConversationForInstallation: Capell\LiveChat\Actions\ResolveLiveChatConversationForInstallationActionresolveLiveChatInstallation: Capell\LiveChat\Actions\ResolveLiveChatInstallationActionsearchLiveChatKnowledgeDocuments: Capell\LiveChat\Actions\SearchLiveChatKnowledgeDocumentsActionstartLiveChatConversation: Capell\LiveChat\Actions\StartLiveChatConversationActionstoreLiveChatAttachments: Capell\LiveChat\Actions\StoreLiveChatAttachmentsActionstoreLiveChatMessage: Capell\LiveChat\Actions\StoreLiveChatMessageActionsuggestLiveChatHumanReply: Capell\LiveChat\Actions\SuggestLiveChatHumanReplyActionsyncLiveChatConversationContact: Capell\LiveChat\Actions\SyncLiveChatConversationContactAction
Scheduled commands
Section titled “Scheduled commands”capell:live-chat:prune (daily; package registered)
Console command classes
Section titled “Console command classes”PruneLiveChatConversationsCommandSeedLiveChatScreenshotFixtureCommand
Manifest contributions
Section titled “Manifest contributions”admin-page: Capell\LiveChat\Manifest\LiveChatClusterContributionadmin-resource: Capell\LiveChat\Manifest\LiveChatAdminResourcesContributionagent-capability: Capell\LiveChat\Manifest\LiveChatAgentBridgeCapabilitiesContributionconsole-command: Capell\LiveChat\Manifest\LiveChatConsoleCommandsContributionfrontend-component: Capell\LiveChat\Manifest\LiveChatWidgetContributionhealth-check: Capell\LiveChat\Manifest\LiveChatHealthContributionmodel: Capell\LiveChat\Manifest\LiveChatModelsContributionroute: Capell\LiveChat\Manifest\LiveChatFrontendRoutesContributionscheduled-job: Capell\LiveChat\Manifest\LiveChatPruneScheduleContribution
Health checks
Section titled “Health checks”Capell\LiveChat\Health\LiveChatHealthCheck
Blade views
Section titled “Blade views”packages/live-chat/resources/views/script.blade.phppackages/live-chat/resources/views/widget.blade.php
Cache tags
Section titled “Cache tags”live-chat
Data Model
Section titled “Data Model”- Required tables:
live_chat_attachment_cleanup,live_chat_conversations,live_chat_installations,live_chat_messages,live_chat_ai_runs,live_chat_availability_windows,live_chat_availability_exceptions,live_chat_escalation_rules,live_chat_knowledge_documents,live_chat_knowledge_gaps,live_chat_knowledge_sources. - Models:
LiveChatAIRun,LiveChatAvailabilityException,LiveChatAvailabilityWindow,LiveChatConversation,LiveChatEscalationRule,LiveChatInstallation,LiveChatKnowledgeDocument,LiveChatKnowledgeGap,LiveChatKnowledgeSource,LiveChatMessage. - Core record references in migrations:
sites via site_id. - Migration files:
2026_06_13_000001_create_live_chat_conversations_table.php,2026_06_13_000002_create_live_chat_messages_table.php,2026_06_13_000003_create_live_chat_availability_tables.php,2026_06_13_000004_create_live_chat_rules_and_sources_table.php,2026_06_13_000005_create_live_chat_installations_table.php,2026_06_13_000006_create_live_chat_ai_source_tables.php,2026_07_10_000001_add_normalized_scope_key_to_live_chat_knowledge_gaps.php,2026_10_22_000001_create_live_chat_attachment_cleanup_table.php,2026_11_04_000001_add_operator_assignment_to_live_chat_tables.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: migrations declare cascade-on-delete relationships and null-on-delete relationships; retention is scheduled through
capell:live-chat:prune(daily; registered by the package provider).