PHPackages                             socket-manager/demo-project - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. socket-manager/demo-project

ActiveProject[HTTP &amp; Networking](/categories/http)

socket-manager/demo-project
===========================

DEMO-PROJECT: フレームワークのデモ環境プロジェクト

v1.2.14(3mo ago)131MITJavaScript

Since Jun 6Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/socket-manager/demo-project)[ Packagist](https://packagist.org/packages/socket-manager/demo-project)[ RSS](/packages/socket-manager-demo-project/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (25)Used By (0)

DEMO-PROJECT：フレームワークのデモ環境プロジェクト
===============================

[](#demo-projectフレームワークのデモ環境プロジェクト)

Minecraftと連携できる軽量WebSocketサーバーのデモプロジェクトです。
リアルタイムチャットのサンプル（ブラウザ／Minecraftクライアント対応）と、Laravel連携のサンプルを含みます。

---

【 概要 】
------

[](#-概要-)

このリポジトリは、SOCKET-MANAGERフレームワーク上で動作するWebSocketサーバーのデモです。
Minecraftと連携してチャットを行うサンプルや、ブラウザクライアント（jQuery / React）を提供し、リアルタイム通信の実装例として利用できます。Laravel連携のサンプルも用意しています。

---

【 特徴 】
------

[](#-特徴-)

- WebSocketベースのリアルタイムチャット（ブラウザ / Minecraft）
- Minecraftクライアントからの接続サンプル（チャット連携）
- jQuery / React のクライアントサンプルを同梱
- Laravelとの連携方法をドキュメントで提供

---

【 クイックスタート（サーバー起動） 】
--------------------

[](#-クイックスタートサーバー起動-)

プロジェクトルートで以下のコマンドを実行してサーバーを起動します。

```
php worker app:minecraft-chat-server
```

例）

```
php worker app:minecraft-chat-server 10000
```

起動後、指定したポートでWebSocketサーバーが待ち受けます。

---

【 クライアントの使い方 】
--------------

[](#-クライアントの使い方-)

### ブラウザ（jQuery / React）

[](#ブラウザjquery--react)

同梱のクライアントHTMLをブラウザで開いて接続できます。任意のブラウザでファイルを開くか、静的ファイルサーバーに配置してアクセスしてください。

- jQuery版: /app/client/jquery/chat.html
- React版: /app/client/react/chat.html

これらのファイルは、WebSocket経由でチャットメッセージを送受信する動作サンプルです。

### Minecraftから接続する方法

[](#minecraftから接続する方法)

Minecraftのチャット画面から以下のコマンドを実行して接続します。

```
/wsserver :/

```

例:

```
/wsserver localhost:10000/Player01

```

接続後は通常のチャットと同様にメッセージを送れます。特定ユーザーへのプライベートメッセージは以下のフォーマットで送れます。

```
#

```

---

【 Windows (UWP) のループバック許可 】
---------------------------

[](#-windows-uwp-のループバック許可-)

Minecraft（UWP版）を使う場合、ローカルのWebSocketサーバーにアクセスするためにループバックを許可する必要があります。管理者権限のコマンドプロンプトで以下を実行してください。

```
CheckNetIsolation.exe LoopbackExempt -a -n="Microsoft.MinecraftUWP_8wekyb3d8bbwe"
```

---

【 補足とリンク 】
----------

[](#-補足とリンク-)

このプロジェクトには複数のサーバー例を用意しています。より詳しい使い方や追加のデモは以下を参照してください。

- 追加デモ:
- Laravel連携:

＜デモ画面＞
[![DEMO: Minecraft と WebSocket の接続例](https://camo.githubusercontent.com/a0318668a8d58cf17441e115e284c7999f765311785f734747bb83b1cdca622d/68747470733a2f2f736f636b65742d6d616e616765722e6769746875622e696f2f646f63756d656e742f696d672f696e6465782f64656d6f2e676966)](https://camo.githubusercontent.com/a0318668a8d58cf17441e115e284c7999f765311785f734747bb83b1cdca622d/68747470733a2f2f736f636b65742d6d616e616765722e6769746875622e696f2f646f63756d656e742f696d672f696e6465782f64656d6f2e676966)

---

【 Contact Us 】
--------------

[](#-contact-us-)

バグ報告やご要望などは[`こちら`](mailto:lib.tech.engineer@gmail.com)から受け付けております。

---

【 License 】
-----------

[](#-license-)

MIT, see [LICENSE file](https://github.com/socket-manager/demo-project/blob/main/LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance82

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~36 days

Total

24

Last Release

90d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d7e0a85ff7abd802e7bb7b323dd131b2b4429089802af392dae04f7bd15b370?d=identicon)[socket-manager](/maintainers/socket-manager)

---

Top Contributors

[![socket-manager](https://avatars.githubusercontent.com/u/166518763?v=4)](https://github.com/socket-manager "socket-manager (24 commits)")

---

Tags

minecraft-bedrockphpproject-repositorysocket-managersocket-servertcp-socketudp-socketwebsocketphpwebsocketproject repositorysocket-serversocket-managertcp-socketudp-socketminecraft-bedrock

### Embed Badge

![Health badge](/badges/socket-manager-demo-project/health.svg)

```
[![Health](https://phpackages.com/badges/socket-manager-demo-project/health.svg)](https://phpackages.com/packages/socket-manager-demo-project)
```

###  Alternatives

[basement-chat/basement-chat

Add a real-time chat widget to your Laravel application.

4983.9k](/packages/basement-chat-basement-chat)[openswoole/core

Openswoole core library

181.1M32](/packages/openswoole-core)[hyperf/websocket-server

A websocket server library for Hyperf.

12488.7k25](/packages/hyperf-websocket-server)[swoft/websocket-server

swoft websocket server component

16134.1k5](/packages/swoft-websocket-server)[hemiframe/php-websocket

PHP WebSocket server and client library

4911.0k](/packages/hemiframe-php-websocket)[warriorxk/phpwebsockets

A websocket library with support for IPC using socket pairs

1225.3k](/packages/warriorxk-phpwebsockets)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
