Download the PHP package zoujingli/think-plugs-worker without Composer

On this page you can find all versions of the php package zoujingli/think-plugs-worker. 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 think-plugs-worker

ThinkPlugsWorker for ThinkAdmin

Latest Stable Version Total Downloads Monthly Downloads Daily Downloads PHP Version License

基于 Workerman 4.x 且支持多种通信协议的基础插件。

提示: 默认支持以 HTTP 方式直接启动 ThinkAdmin 项目,无需配置 Nginx 或 Apache 环境,访问速度提升 N 倍。

代码主仓库放在 GiteeGithub 仅为镜像仓库用于发布 Composer 包。

注意: 该插件支持 WorkermanGateway 两种运行方式,默认只安装了 Workerman 组件,如果需要使用 Gateway 组件,请另行安装。 配置文件的根配置参数是启动 http 服务进程,用来运行 ThinkAdmin v6 程序。 如果需要使用其他协议,请使用并修改 customs 配置或追加配置,并通过指定 --custom name 配置名来启动对应服务进程。

安装插件

卸载插件

配置参数

配置文件 config/worker.php

使用方法

在命令行启动服务端

然后就可以通过浏览器直接访问当前应用

默认使用 Workerman 工作方式,如果需要使用 Gateway 方式,需要安装 GatewayWorker 组件。

安装 GatewayWorker 的指令如下:

注意: 启用 Gateway 时需要单独启动三个进程,分别是 GatewayRegisterBusiness,中间需要 Register 进程连接。

数据通信模型:

Client <-> Gateway <-> Register <-> Business <-> Events

Linux 支持操作指令如下:

Windows 支持操作指令如下:

其他 workerman 的参数可以在应用配置目录下的 worker.php 里面 worker 项配置。

更多其他特性请阅读 workerman 文档 https://www.workerman.net/doc/workerman

版权说明

ThinkPlugsWorker 遵循 Apache2 开源协议发布,并提供免费使用。

本项目包含的第三方源码和二进制文件之版权信息另行标注。

版权所有 Copyright © 2014-2023 by ThinkAdmin (https://thinkadmin.top) All rights reserved。

更多细节参阅 LICENSE.txt


All versions of think-plugs-worker with dependencies

PHP Build Version
Package Version
Requires php Version >7.1
workerman/workerman Version ^4.1
zoujingli/think-install Version ^1.0|@dev
zoujingli/think-library Version ^6.1|@dev
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 zoujingli/think-plugs-worker contains the following files

Loading the files please wait ....