Download the PHP package alan/yii2-swoole-async without Composer

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

Yii2 SWOOLE ASYNC

  1. 特性

  2. 安装

    composer require alan/yii2-swoole-async:v2.0.0

  3. 配置

    1.0.x有消费者卡死的Bug, 解决的办法是升级了swoole到4.5.*的版本,使用Pool代替原来的swoole_service。

    关于1.0.0升级到2.0的配置的变更,由于2.x采用Yii2框架自身的日志组件又要在消费任务的时候刷新LogId, 所以需要替换文件类,配置层级 composents => logs => targets => class: yii2\mq_task\components\FileTarget

    建议添加到common\config\main-local.php文件添加

    • 添加dcache表对应的配置(此配置用于查询表结构,用于ORM操作)

    • 添加task表

    • 添加启动脚本

    • 启动

    • 书写任务类

    • 投递任务

All versions of yii2-swoole-async with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version ~2.0.22
yiisoft/yii2-redis Version ^2.0
ext-json Version *
ext-swoole Version *
ext-pcntl Version *
dragonmantank/cron-expression Version 3.*
pda/pheanstalk Version 4.*
swoole/ide-helper Version *
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 alan/yii2-swoole-async contains the following files

Loading the files please wait ....