aesircloud/statamic-ai-chatbot
Composer 安装命令:
composer require aesircloud/statamic-ai-chatbot
包简介
AI chatbot addon for Statamic with provider switching, FAQs, leads, and knowledge retrieval.
README 文档
README
aesircloud/statamic-ai-chatbot is a Statamic addon scaffold for building a provider-flexible AI chatbot with FAQ handling, knowledge retrieval, support escalation, and lead capture.
Included in this scaffold
- Reusable Statamic addon package structure under the
AesirCloud\\StatamicAiChatbotnamespace - Configurable provider defaults for text generation, embeddings, and reranking
- Database models and migrations for bot profiles, FAQs, sources, knowledge chunks, chats, and leads
- Public widget tag via
{{ ai_chatbot:widget }}with Vue-powered chat and lead capture UI - Control panel utility surface for profile visibility, provider defaults, and sync triggering
- Source driver contracts and first-party Statamic content plus YouTube transcript connectors
- Lead delivery drivers for database, email, and webhook dispatch
- Console commands for knowledge sync and retention pruning
Installation
- Require the package in a Statamic 5.x or 6.x app running Laravel 12+ and PHP 8.3+.
- Publish the package config:
php artisan vendor:publish --tag=statamic-ai-chatbot-config
- Publish and run the package migrations along with the Laravel AI SDK migrations.
- Install the frontend dependencies in the host app and build the addon assets:
npm install npm run build
- Add a bot profile record, FAQs, and source connections, then render the widget in Antlers:
{{ ai_chatbot:widget profile="default" }}
Configuration notes
config/statamic-ai-chatbot.phpcontrols provider defaults, widget defaults, retention, queue behavior, and lead destinations.- Text generation and embeddings are intentionally separated, so you can use one provider for chat and another for retrieval.
- The current YouTube connector expects transcript text in the source connection config. It already handles URL normalization and can be extended to use a real transcript ingestion provider later.
Current implementation boundaries
- The control panel utility is a functional dashboard, not yet a full CRUD editor for all records.
- The widget currently uses JSON requests instead of server-sent streaming.
- Knowledge retrieval is keyword-first with optional embeddings stored as JSON arrays, which keeps the package database-agnostic for v1.
- Public widget asset delivery assumes the package assets are built and published with the host application.
aesircloud/statamic-ai-chatbot 适用场景与选型建议
aesircloud/statamic-ai-chatbot 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 26 次下载、GitHub Stars 达 1, 最近一次更新时间为 2026 年 03 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「addon」 「laravel」 「ai」 「statamic」 「chatbot」 「AesirCloud」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aesircloud/statamic-ai-chatbot 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aesircloud/statamic-ai-chatbot 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aesircloud/statamic-ai-chatbot 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Statamic Fine Seo addon
This composer plugin enables installation of GravityForms WordPress plugin and its addons.
A lightweight floating toolbar for Statamic that gives logged-in users quick access to the CP and entry editor
Dropzone field for Laravel Backpack
This ConcreteCMS/concrete5 addon installs a block type that when added to a page allows you to redirect visitors to this page to another page that you specify or an external URL.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-19