Download the PHP package socket-manager/demo-project without Composer

On this page you can find all versions of the php package socket-manager/demo-project. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package demo-project

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

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


【 概要 】

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


【 特徴 】


【 クイックスタート(サーバー起動) 】

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

例)

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


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

ブラウザ(jQuery / React)

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

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

Minecraftから接続する方法

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

例:

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


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

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


【 補足とリンク 】

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

<デモ画面>

DEMO: Minecraft と WebSocket の接続例

【 Contact Us 】

バグ報告やご要望などはこちらから受け付けております。


【 License 】

MIT, see LICENSE file.


All versions of demo-project with dependencies

PHP Build Version
Package Version
Requires socket-manager/library Version ~1.20.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package socket-manager/demo-project contains the following files

Loading the files please wait ...