定制 saammi/any-chat 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

saammi/any-chat

最新稳定版本:v1.0.0-beta.3

Composer 安装命令:

composer require saammi/any-chat

包简介

A no-auth livewire stateless chat-widget

README 文档

README

AnyChat Logo

AnyChat 💬

Lightweight. Stateless. Instant.
A support-first chat widget for Laravel, powered by Livewire and Alpine.js.

AnyChat Logo AnyChat Logo AnyChat Logo AnyChat Logo AnyChat Logo

Tests Code Style Latest Version License

AnyChat is a stateless Livewire chat widget designed for Laravel applications. It enables real-time support interactions with zero database migrations and zero authentication overhead. Messages persist in the local session, making it the perfect privacy-first solution for landing pages and lead generation.

✨ Key Features

  • Stateless by Design: No database bloat. Messages stay in the user's session.
  • Plug & Play: Zero configuration required to get started.
  • Reactive: Built on Livewire and Alpine.js for a snappy, real-time feel.
  • Theming: Full dark mode support and deep customization via Blade props.

📦 Installation

Install the package via Composer:

composer require saammi/any-chat

🛠 Usage

  1. The Chat Widget Place the component in your public-facing Blade templates:
 <livewire:anychat-widget />
  1. The Response Dashboard Access incoming messages using the administrative dashboard component:
<livewire:anychat-dashboard />

Prerequisites Ensure your layout file includes the required Livewire and Alpine.js assets:

<html>
<head>
    @livewireStyles
</head>
<body>
    {{ $slot }}

    @livewireScripts
    <script defer src="[https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js](https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js)"></script>
</body>
</html>

Setup reverb or pusher and you are good to go.

🎨 Customization You can fine-tune the widget appearance directly through props:

<livewire:anychat-widget 
    height="500px" 
    width="400px" 
    variant="outline" 
    primaryColor="#7c3aed"
    adminColor="#f3f4f6"
/>

🧪 Testing We maintain a robust test suite using PHPUnit and Laravel Dusk to ensure stability across PHP and Laravel versions.

Unit Tests:

./vendor/bin/phpunit --testsuite Unit

Browser Tests (Dusk):

# Update ChromeDriver to match your local version
./vendor/bin/dusk-updater detect --auto-update

# Run the browser suite
./vendor/bin/testbench dusk

🗺 Roadmap (Beta) [ ] File Uploads: Send images and documents via chat.

[ ] Notifications: Real-time alerts for new messages.

[ ] AI Integration: Optional support for LLM-powered auto-responders.

[ ] Database Driver: Optional persistence for long-term history.

🤝 Contributing Contributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. Please see our Contributing Guide for details.

📄 License The MIT License (MIT). Please see the License File for more information.

saammi/any-chat 适用场景与选型建议

saammi/any-chat 是一款 基于 Blade 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 21 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 saammi/any-chat 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 saammi/any-chat 我们能提供哪些服务?
定制开发 / 二次开发

基于 saammi/any-chat 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 26
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-21