serversideup/cfspeedtest
Composer 安装命令:
composer require serversideup/cfspeedtest
包简介
Distribute cfspeedtest as a Composer package.
README 文档
README
Goal: Make the cfspeedtest CLI from Cloudflare Speed Test easily available in PHP projects via Composer, without requiring Rust or manual installs.
- Upstream project: code-inflation/cfspeedtest
- What this package does: Vendors prebuilt
cfspeedtestbinaries and exposes a tiny wrapper so you can run it asvendor/bin/cfspeedinside your PHP app or CI. - What it does not do: It does not modify upstream code or behavior. It only redistributes the binaries and adds a small launcher script.
Installation
composer require serversideup/cfspeedtest
Usage
After installation, the executable is available at vendor/bin/cfspeed:
vendor/bin/cfspeedtest --help vendor/bin/cfspeedtest --output-format json-pretty
You can pass through all flags supported by upstream cfspeedtest (see upstream README for full options).
How it works
- This package ships platform-specific upstream binaries in
bin/and a tiny launcher atbin/cfspeedtest. - When you run
vendor/bin/cfspeedtest, the launcher detects your OS/architecture and executes the matching bundled binary. - Binaries are taken as-is from upstream releases and simply renamed to include their target triple (e.g.,
cfspeedtest_aarch64-unknown-linux-gnu).
Supported platforms
Currently bundled targets:
- aarch64-apple-darwin (Apple Silicon macOS)
- x86_64-unknown-linux-gnu (Linux x86_64)
- aarch64-unknown-linux-gnu (Linux ARM64)
Notes:
- Intel macOS is not currently supported by the launcher. On unsupported systems, the script will exit with an error.
- Windows is not supported.
Versioning
This package tracks upstream releases and republishes their binaries.
Security & provenance
- You are executing a prebuilt third-party binary within your PHP project/CI.
- Binaries originate from upstream GitHub Releases of
cfspeedtest. Consider verifying checksums/signatures against the upstream release assets when appropriate.
License
- This Composer package: GPL-3.0-or-later (see
composer.json). - Upstream
cfspeedtest: MIT License. See upstream project for details.
Credits and attribution
- All credit for the
cfspeedtestimplementation goes to the upstream maintainers: code-inflation/cfspeedtest. - This repository is an independent, open-source redistribution for Composer-based workflows and is not affiliated with or maintained by the upstream project.
serversideup/cfspeedtest 适用场景与选型建议
serversideup/cfspeedtest 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 631 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 serversideup/cfspeedtest 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 serversideup/cfspeedtest 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 631
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-09-09