定制 erickmajor/phpsocket.io 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

erickmajor/phpsocket.io

Composer 安装命令:

composer require erickmajor/phpsocket.io

包简介

PHPSocket.IO is a library written in PHP/JavaScript that allows real-time communication between a client and server via web sockets.

README 文档

README

PHPSocket.IO is a library written in PHP/JavaScript that allows real-time communication between a client and server via web sockets.

It was partly inspired by the NODE.JS version http://socket.io/ and works in a similar manner.

The PHP aspect of this library also make use of https://github.com/ghedipunk/PHP-Websockets as a base class.

It's created and developed by Anthony Ogundipe, CEO of DHTMLExtreme.

Features

  • Ultra-fast communication between client and server.
  • Simple to implement and configure especially into existing libraries.
  • It can be integrated fairly easily with existing libraries.
  • It can be used with mobile application development e.g. an android/ios client

Quick Start

  • Download the zip master
  • Extract the zip master into your web directory
  • Open the examples folder to check out the basic and advanced functionalities.

Simple Usage:

You need to start the server from the commandline and not from inside the browser.

$: php server/socketio.php

From linux, you may want to use: nohup php server/socketio.php 

The server is meant to be running continuously so that it waits for connection, if you close the server, then the functionality will stop.

After you have successfully started the server, you can run the client from the browser examples/basic/index.html or examples/advanced/index.html

Support

Visit the project page for documentation, configuration, and more advanced usage examples.

Android Integration

If you are an android user, you can find out how to integrate this utility into your android project by checking out the project page.

Author

Anthony Ogundipe a.k.a dhtml

Special thanks to Adewale Wilson (wasconet) for his contributions to this library.

Community

You can chat with us on facebook http://facebook.com/dhtml5

License

phpsocket.io's code in this repo uses the MIT license, see our LICENSE file.

FIXES

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固