welsh-tidy-mouse/binary-fetcher 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

welsh-tidy-mouse/binary-fetcher

Composer 安装命令:

composer require welsh-tidy-mouse/binary-fetcher

包简介

Tool to download binaries depending on your platform (OS + architecture).

README 文档

README

Tests Binary Fetcher license

Tool to download binaries depending on your platform (OS + architecture).

✅ Features

  • Download from code hosting platform releases (Github, Gitlab, ...)
  • Detects platform: linux, macos, windows / x64, arm64
  • Works from CLI or as PHP service with binary providers

🔧 Install

composer require welsh-tidy-mouse/binary-fetcher

🚀 Usage

CLI

php bin/binary-fetcher download "\MyVendo\BinaryProvider\MyBinaryProvider" [version] [--dir="/my/download/dir"]

or with composer

composer exec binary-fetcher download "\MyVendo\BinaryProvider\MyBinaryProvider" [version] [--dir="/my/download/dir"]

PHP

$fetcher = new \BinaryFetcher\BinaryFetcher('/my/download/dir', HttpClient::create());
$binaryName = $fetcher->download(new \MyVendo\BinaryProvider\MyBinaryProvider, 'v1.2.13');

🧪 Quality

  • composer test to run PhpUnit tests
  • composer lint to run PHPStan
  • composer cs to fix files with Code Sniffer
  • composer mdto run PHPMD
  • composer check for all commands above

🐁 This package is part of the Welsh Tidy Mouse ecosystem.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: WTFPL
  • 更新时间: 2025-05-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固