Repository navigation
Releases
Giorgio IM Socket 1.3.0:消息引用与群通知 / Replies and group notifications
Giorgio IM Socket 1.3.0:消息引用与群通知 / Quotations and group notifications
中文
Giorgio IM Socket 为 Laravel 应用提供好友、群聊、消息、附件和实时事件 API,可配合 Giorgio IM 的 Vue 或 React 组件使用。
- 私聊和群聊支持消息引用,保留图片、图文和多图快照,消息历史与实时事件均包含引用信息。
- 群聊支持经过服务端成员身份和文字范围校验的 @ 提及。
- 新增个人群消息静音接口和设置同步;静音独立于禁言,消息继续投递以保留未读数和 @ 提醒。
- 简化中英文一键安装与手动接入说明,安装脚本统一最低 PHP 8.0.2,新建项目采用 Laravel 9。
升级后运行 php artisan migrate,再重启 Socket 和事件推送服务。
下载与体验
- 独立程序覆盖 Linux arm64/x86_64、macOS arm64/x86_64 和 Windows x86_64,共五个平台。下载适合系统的
im-test-*文件(Windows 为.exe),macOS/Linux 添加执行权限后运行,无需另装 PHP、Node.js、Composer 或 Redis。 - 同名的五个
.phar文件需要兼容 PHP 运行时,可使用php 文件名.phar启动。 - 启动后按终端地址打开演示页面,注册两个账号测试私聊、群聊、图片引用和群通知;运行
--help可查看端口选项。 - 校验清单用于验证下载完整性。源码归档包含后端和
tools/setup.sh,可按 README 安装到 Laravel 项目。
验证:32 项后端测试、260 个断言通过;两个 PHP 包共 56 个 PHP 文件语法通过,安装脚本 Bash 语法和改动 PHP 文件 Pint 检查通过。
English
Giorgio IM Socket provides Laravel APIs for friendships, groups, messages, attachments and real-time events, for use with the Giorgio IM Vue or React component.
- Quote messages in private and group chats while preserving images, captions and multi-image snapshots in history and live events.
- Add group mentions with server-side membership and text-range validation.
- Add personal group notification preferences and private synchronisation. Notification muting is independent of posting restrictions; delivery continues so clients retain unread counts and mention alerts.
- Simplify the bilingual demo and manual installation guides. The installer now requires PHP 8.0.2 or later and creates Laravel 9 projects.
After upgrading, run php artisan migrate, then restart Socket and event delivery services.
Downloads and demo
- Five standalone executables cover Linux arm64/x86_64, macOS arm64/x86_64 and Windows x86_64. Download the matching
im-test-*file (.exeon Windows), make it executable on macOS/Linux and run it. PHP, Node.js, Composer and Redis installations are unnecessary. - Five matching
.pharfiles require a compatible PHP runtime and start withphp filename.phar. - Open the address printed in the terminal and register two accounts to try private/group chats, image quotations and group notifications. Use
--helpfor port options. - Use the checksum manifest to verify downloads. The source archive includes the backend and
tools/setup.shfor installation into Laravel according to the README.
Validation: 32 backend tests and 260 assertions passed, together with syntax checks for all 56 PHP files in the two PHP packages, Bash installer syntax and Pint checks for changed PHP files.
Giorgio IM Socket 1.2.0
Giorgio IM Socket 1.2.0
Giorgio IM Socket is the Laravel backend for Giorgio IM. This release accepts multiple uploaded images in one message, checks upload ownership and sensitive words for every image, and returns the image list to clients. The existing single-attachment message format remains supported. It works with Giorgio Socket 2.2.0.
Files
giorgio-im-socket-1.2.0.zip: package source, including the setup script and documentation.im-test-macos-aarch64,im-test-macos-x86_64,im-test-linux-aarch64,im-test-linux-x86_64andim-test-windows-x86_64.exe: standalone messaging demos for the listed operating systems and CPUs. They run without installing PHP, Node.js, Composer or Redis.- Matching
.pharfiles: the same demos for users with a compatible PHP runtime. giorgio-im-quickstart-SHA256SUMS: SHA-256 checksums for all ten demo files.
For a quick trial, download the standalone executable for your platform and run it with --help. On macOS and Linux, first run chmod +x <file>. On Windows, run the .exe from a terminal. Run a .phar with php <file>.phar --help. For Laravel integration, follow the setup instructions in the source archive.
1.1.0
Giorgio IM Socket 1.1.0
- IM events can be replayed through the authenticated Socket connection.
- Added a local Laravel demo setup script and updated Chinese and English guides.
快速体验包
附件包含从 packages/dist 构建的 Linux、macOS 和 Windows 演示程序。按系统和架构下载无后缀可执行文件或 .exe,运行 --help 查看启动参数;首次运行可用两个账号体验私聊与群聊。对应 .phar 文件供已有兼容 PHP 运行环境的用户使用,不能直接替代独立可执行文件。giorgio-im-quickstart-SHA256SUMS 可用于校验下载内容。
也可下载 giorgio-im-socket-1.1.0.zip 查看包源码及 tools/setup.sh。正式接入请使用 composer require wu/giorgio-im-socket:^1.1。
Giorgio IM Socket 1.0.1
更新内容
- 运行依赖调整为 PHP
^8.0.2、Laravel>=9.0,扩大兼容范围。 - 将控制器和服务中的字符串键数组展开改为
array_merge,修复 PHP 8.0 下票据签发、资料与好友通知、群成员及消息数据的兼容问题。 - 开发依赖支持 Testbench 7/8 与 PHPUnit 9.5/10.1。
- 更新中英文安装、认证、接口及部署文档,补充 Socket 自动选择驱动和 Windows 原生驱动说明。
部署说明
继续依赖 wu/giorgio-socket ^2.0。需要 Windows 或无 Swoole 环境支持时,请使用 Socket 2.1.0,并配置 SOCKET_DRIVER=auto 或 native;Windows 原生驱动最多支持 60 个并发连接。更新配置缓存并重启常驻服务。
English
- Expand runtime compatibility to PHP
^8.0.2and Laravel>=9.0. - Replace string-key array unpacking with
array_mergein controllers and services for PHP 8.0 compatibility, covering ticket claims, profile/friend events, group members and message payloads. - Support Testbench 7/8 and PHPUnit 9.5/10.1 for development.
- Refresh Chinese and English installation, authentication, API and deployment documentation, including automatic transport selection and native Windows transport.
The package continues to require wu/giorgio-socket ^2.0. For Windows or environments without Swoole, use Socket 2.1.0 with SOCKET_DRIVER=auto or native. Native Windows transport supports up to 60 concurrent connections. Refresh cached configuration and restart long-running services after upgrading.
Full Changelog: 1.0.0...1.0.1
Giorgio IM Socket 1.0.0
首个正式版本
为 Giorgio IM 提供独立的 Laravel 后端接入扩展,基于 wu/giorgio-socket ^2.0,采用 MIT 协议。
功能
- 用户资料、好友分组、好友申请、删除好友及黑名单。
- 私聊、群聊、群成员管理、管理员权限与禁言。
- 消息记录、文件上传、已读回执、正在输入及上下线通知。
- 可配置的敏感词拦截、签名通知与 HTTPS/WSS 传输要求。
- Socket 加密连接票据、事件补取与可靠推送集成。
- 可配置用户模型、认证中间件及 Socket 身份适配器;注册和登录由接入应用自行实现。
安装与要求
PHP 8.1+、Laravel 10、mbstring、Swoole 和 Redis。Composer 包名:wu/giorgio-im-socket。
GitHub VCS 安装方式、配置和接口说明见 中文文档 与 English README。本次发布未提交至 Packagist。
验证
- 独立包:13 项测试,99 项断言通过。
- 宿主集成:60 项测试,379 项断言通过。
- 21 个 PHP 文件通过语法检查和 Pint,Composer 配置通过严格校验。
First stable release
A standalone Laravel backend integration for Giorgio IM, powered by wu/giorgio-socket ^2.0, released under the MIT license.
Includes profiles, friends and blocklists, private and group messaging, group moderation, uploads, read receipts, typing and presence updates, optional sensitive-word filtering, encrypted Socket tickets and durable event delivery integration.
Integrates with your application's user model and authentication. Registration and login remain the application's responsibility. Requires PHP 8.1+, Laravel 10, mbstring, Swoole and Redis. See the English README for GitHub VCS installation and configuration; this release has not been submitted to Packagist.