承接 mslwk/module-reactphp-playground 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mslwk/module-reactphp-playground

Composer 安装命令:

composer require mslwk/module-reactphp-playground

包简介

ReactPHP playground module for Magento 2

README 文档

README

Build Status Scrutinizer Code Quality Latest Stable Version License Total Downloads

Magento 2 ReactPHP Playground

Magento 2 module which showcases how to run resource-heavy processes asynchronously using multiple threads with ReactPHP ChildProcess and HttpClient libraries.

Prerequisites

  • Magento 2.2 or higher
  • PHP 7.1

Installing

You can install the module by downloading a .zip file and unpacking it inside app/code/MSlwk/ReactPhpPlayground directory inside your Magento or via Composer (recommended).

To install the module via Composer simply run

composer require mslwk/module-reactphp-playground

Than enable the module by running these command in the root of your Magento installation

bin/magento module:enable MSlwk_ReactPhpPlayground
bin/magento setup:upgrade

Usage

Non-Magento scripts

The module contains PHP CLI scripts which don't require Magento. They present the potential differences between the same calculations run on 1, 2 and 4 threads.

  • To run HttpClient example start the Standalone/bin/http script
  • To run ChildProcess example start the Standalone/bin/childprocess script

Magento commands

The module contains 2 commands available via bin/magento. You can choose the number of threads to use.

  • To run HttpClient example use
bin/magento mslwk:webapi-reporting-start <<number_of_threads>>
  • To run ChildProcess example use
bin/magento mslwk:cli-reporting-start <<number_of_threads>>

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Screenshots

Alt text

Alt text

Alt text

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 12
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 12
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固