Download the PHP package fage1151/swoole-worker without Composer

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

swoole-worker

Join the chat at https://gitter.im/swoole-worker/Lobby

What is it

此项目是workerman(v3.4.5)的swoole移植版本,移除了对pcntl,libevent,event,ev扩展的依赖,转而使用swoole提供的swoole_process和swoole_event,定时器采用swoole的swoole_timer,server采用stream扩展

Requires

php_version >= 5.4
A POSIX compatible operating system (Linux, OSX, BSD)
POSIX and Swoole extensions for PHP
swoole_version >= 1.9.18 or 2.0.8

Thanks

Installation

Basic Usage

用法与workerman兼容

A websocket server

An http server

A WebServer

A tcp server

Enable SSL.

Custom protocol

Protocols/MyTextProtocol.php

Timer

AsyncTcpConnection (tcp/ws/text/frame etc...)

Async Tcp Client

Async WebSocket Client

Aysnc Dns Client

Async Http Client

https网站需要依赖openssl,必须在编译swoole时启用--enable-openssl

Async Mysql Client

Async Redis Client

Document https://wiki.swoole.com/wiki/page/p-redis.html

Async Zmq Client

install:

Document

IDE自动提示工具 https://github.com/eaglewu/swoole-ide-helper
Swoole官方网站 https://wiki.swoole.com/wiki/index/prid-1
Workerman手册 http://doc.workerman.net/

Available commands

workerman start

workerman satus


All versions of swoole-worker with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
ext-swoole Version >=1.9.18
ext-posix Version *
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 fage1151/swoole-worker contains the following files

Loading the files please wait ....