Download the PHP package rephp/rephp-swoole without Composer

On this page you can find all versions of the php package rephp/rephp-swoole. 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 rephp-swoole

rephp-swoole

一、目录信息

  1. src/app 为rephp框架加载安装rephp-swoole后要复制的应用代码

  2. src/config 为rephp框架安装rephp-swoole后要复制的配置

二、运行

以websocket为例,安装代码完毕后,可通过执行:

  1. linux系统 php cmd swoole/websocket/run

  2. windows系统 swoole-cli cmd swoole/websocket/run

三、应用:

  1. 所有的逻辑都放在logic文件中,每个文件中只有一个入口函数:doMessasge

  2. 所有websocket客户端请求都应携带logic参数,对应logic文件名主名如demoLogic

三、请求:

  1. 以websocket为例,根据配置连接websocket服务端。默认服务端地址为: ws://127.0.0.1:9502
  2. 发送指定格式json信息为内容到websocket服务端。

All versions of rephp-swoole with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.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 rephp/rephp-swoole contains the following files

Loading the files please wait ....