Download the PHP package janfish/async-caller without Composer

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

消息中间件

特性

安装

服务端

参数 默认 说明
host 127.0.0.1 Beanstalkd服务地址
port 11300 Beanstalkd服务端口
tube async_call_test 消费队列名,多个填写数组,单个填写字符串
workerNum 1 进程数
reserveTimeout 2 读取队列超时时间,单位秒
maxRequest 1000 最大完成任务数,当一个进程达到最大任务数,将平滑重启
cron 200 定时任务周期,默认200毫秒
daemonize false 是否已后台进程方式运行
pidFile /tmp/asynctask%d.pid 运行时pid记录的地址
logPath 日志文件地址,设置后将写日志

主进程pid直接kill,子进程会检查自己任务执行完后自行退出

docker 下运行

然后是平滑重启

开启多套服务

客户端

参数 类型 必填 说明
model string 调用的ORM模型对象名称
modelParams mixed 调用的ORM的条件参数,空字符串,criteria条件,或数字主键ID
method string 调用ORM对象的方法
methodParams array 调用的方法参数
delay int 延时执行,单位秒
retryTimeTable int 按指定时刻表重复运行任务,当此参数填写时,禁止使用retryIntervalTime和retryStopAt参数,单位秒
retryIntervalTime int 当结果为false延时执行的间隔时间,单位秒
retryStopAt datetime 延时执行的停止执行时间 Y-m-d h:i:s
forceSync bool 强制同步执行,默认false
ttr int 最大执行一个任务的时间,默认60
errorRetry bool 任务出错后是否重试 ,默认false

订制命令解析

配置服务器使其执行订制的命令

将自定义的解析对象指定给服务器


All versions of async-caller with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-posix Version *
ext-swoole Version *
ext-json Version *
pda/pheanstalk Version v4.0.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 janfish/async-caller contains the following files

Loading the files please wait ....