Download the PHP package kriss/multi-process without Composer

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

php Multi Process

基于 symfony/process 实现的多进程管理

安装

特性

基本使用

如何调用框架自带的命令行

注意:此方法仅支持 symfony/console 类型的命令行

已自动支持 laravel 和 webman,无需进行以下配置

一般框架都是有配置的,如果使用当前扩展自带的 bin/console 无法加载配置相关代码,因此无法做到很多框架中所谓的 Kernel::start,就没法使用相关的组件, 解决此问题只需要进行如下配置即可

  1. 在框架 startupbootstrap(如 Laravel 的 AppServiceProvider 的 boot 方法中),添加 PendingTaskProcess::$globalConsoleFile = __DIR__ . '/path/to/console';
  2. 注入 TaskCallCommand 命令(如 Laravel 的 AppServiceProvider 的 register 方法中添加 $this->commands(TaskCallCommand::class)

与单进程 PHP 处理上的区别

可以使用以下方式对比测试使用该扩展和php原生循环的时间区别

参考

其他示例详见 tests

illuminate/process

spatie/async


All versions of multi-process with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
laravel/serializable-closure Version ^1.0
symfony/console Version >=5
symfony/process Version >=5
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 kriss/multi-process contains the following files

Loading the files please wait ....