alveby / atrium-chat
A chat button on every page of an Atrium site: conversations in the site's own database, operators answer in the panel, works on shared hosting with nothing but PHP
Package info
Type:atrium-module
pkg:composer/alveby/atrium-chat
dev-main / 0.5.x-dev
2026-12-05 08:59 UTC
Requires
- php: ^8.3
- alveby/atrium: ^0.5
- illuminate/support: ^13.0
Requires (Dev)
- orchestra/testbench: ^11.0
- phpunit/phpunit: ^12.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-06 04:38:33 UTC
README
A chat on the site for the Atrium admin: a button on every page, operators answer in the panel. The conversations stay in the site's own database and no outside service is needed: it works on shared hosting with nothing but PHP.
- The widget is put before
</body>of every page, in any theme: plain JavaScript, no cookie, no framework. The conversation survives reloads, the visitor may leave a name and an e-mail or phone, and Forget me deletes it at once. - The operator's screen, Chat in the menu: waiting, mine, open and closed conversations, Take, Close, Block, a sound and a browser notification for a new one. Permissions
chat.viewandchat.update. - Events for rules and notifications: a conversation started, a message nobody is answering, a conversation closed.
- Modules → Chat, per site: on or off, the button's text and corner, the greeting, the offline text, when to ask for a contact, how long to keep conversations.
Install
composer require alveby/atrium-chat php artisan atrium:module:install alveby/atrium-chat
Then switch it on in Modules → Chat. Old conversations are deleted every night by atrium:chat:prune from the scheduler. Everything else is in docs/chat.md.
License
MIT