Search by

alveby / atrium-chat

xiregroup

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

github.com/AlveBy/atrium-chat

Homepage

Issues

Type:atrium-module

pkg:composer/alveby/atrium-chat

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

dev-main / 0.5.x-dev 2026-12-05 08:59 UTC

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.view and chat.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