Ana Sayfa / Kod ve Scriptler / Chat Engine — Real-Time Chat for PHP

Chat Engine — Real-Time Chat for PHP

Düz PHP 8.4 ile eksiksiz gerçek zamanlı sohbet sistemi — kendi başına bir uygulama olarak çalıştırın veya mevcut bir web sitesine üç

  • Yayın tarihi20 Ağustos 2026
  • VeritabanıMySQL 8, or MariaDB 10.4+
  • Paket içeriği.php, .css, .html, .sql, JavaScript .js
  • Son güncelleme20 Ağustos 2026
  • Canlı demoVar
Chat Engine — Real-Time Chat for PHP

Overview

Two products, one engine

Standalone — a complete chat application with its own sign-in, optional self sign-up, conversation list, group chats, file sharing and an administration panel. Installable as a web app on a phone. Integrated — the same engine embedded in a site you already run. Three lines of JavaScript put a chat button on the page. Your users are already signed in to your site, so they are already signed in to the chat: your server passes their identity across in a signed token, and no separate chat password ever exists. The widget is injected into the host page's DOM inside a Shadow DOM — not an iframe. It inherits nothing from the host page's CSS and leaks nothing back, so it looks the same on every site without a designer having to fight it.

Switch the transport from a dropdown

Communication mode:   ( ) WebSocket      ( ) AJAX

WebSocket delivers in milliseconds and runs on a PHP process you start yourself — no Pusher, no Ably, no monthly bill for someone else's servers, and no Redis. AJAX needs nothing beyond PHP and works on the cheapest shared hosting. It is not a one-second timer: polling adapts to what the user is doing — a couple of seconds in an open conversation, far rarer in a background tab, and it backs off when nothing is happening. Both run the same backend code and have the same features. Switching is one setting in the admin panel — no code changes, no redeployment, nothing to reinstall. If a WebSocket connection cannot be established, clients fall back to polling on their own rather than silently going dead.

Installs from a browser

Upload the files, open the site, follow the wizard: it checks the environment, tests the database credentials by actually using them, writes the configuration, creates the schema and your administrator account, then locks itself out. No shell access needed, which is the point — most shared hosting does not have one. There is no public folder to point a document root at. The files go straight into public_html.

Features

  • 1:1 and group conversations, create / rename / archive / leave, member management
  • Send, edit, delete, reply, emoji picker
  • Image and file attachments with thumbnails, served through a permission gate
  • Message search, unread counts, delivered and read receipts
  • Typing indicators, online / offline presence, last seen
  • Notifications, block a user, mute a conversation
  • Multi-tenant: one installation serves many websites, each with its own credentials, allowed origins and branding
  • Administration panel: dashboard, workspaces, users, conversations, messages, files, settings, security, audit log
  • Dark theme, responsive, installable as a web app (PWA)
  • REST API (/api/v1/) and a documented JavaScript SDK

Requirements

PHP8.4 or newer
Extensionspdo, pdo_mysql, mbstring, json, openssl, sodium, fileinfo, gd
DatabaseMySQL 8, or MariaDB 10.4+
Web serverApache with mod_rewrite (works on cPanel as shipped), or nginx
Optionalext-sockets — only for WebSocket mode; AJAX mode runs without it

Not required: Composer, Node.js, Docker, Redis, or any paid third-party service.