承接 dypa/phpmulticurl 相关项目开发

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

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

dypa/phpmulticurl

最新稳定版本:4.0.0

Composer 安装命令:

composer require dypa/phpmulticurl

包简介

Ultra fast non-blocking OOP wrapper for curl_multi_* functions.

README 文档

README

Latest Stable Version License Total Downloads

Ultra fast non-blocking OOP wrapper for curl_multi_* functions.

Pull requests are very welcome.

Main features:

  • reuse curl resource
  • don't waste time on unnecessary cycles, careful works with select function
  • simple queue management
  • fully configured! supports callbacks onLoad, onError, full control on http headers
  • simple usage
  • few tests, no docs :( sorry :(

Requires:

  • php >= 7.1
  • ext-curl
  • safe_mode = Off

Installation via Composer:

  • install Composer
  • run composer require dypa/phpMultiCurl

Tests

$ vendor/bin/phpunit tests # or via Docker $ docker run --rm \ -it \ -v "$(pwd)":/app \ -w /app \ php:7.1 \ /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests $ docker run --rm \ -it \ -v "$(pwd)":/app \ -w /app \ php:7.2 \ /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests $ docker run --rm \ -it \ -v "$(pwd)":/app \ -w /app \ php:7.3 \ /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests $ docker run --rm \ -it \ -v "$(pwd)":/app \ -w /app \ php:7.4 \ /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests

Examples

Contributing

Fork the project, create a feature branch and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the PSR-* coding standards.

To avoid CS issues, you should use php-cs-fixer:

$ php-cs-fixer fix src/

统计信息

  • 总下载量: 29.47k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04