PHPackages                             welsh-tidy-mouse/binary-fetcher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. welsh-tidy-mouse/binary-fetcher

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

welsh-tidy-mouse/binary-fetcher
===============================

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

1246PHPCI passing

Since Jun 5Pushed 1y agoCompare

[ Source](https://github.com/welsh-tidy-mouse/binary-fetcher)[ Packagist](https://packagist.org/packages/welsh-tidy-mouse/binary-fetcher)[ RSS](/packages/welsh-tidy-mouse-binary-fetcher/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Binary Fetcher
==============

[](#binary-fetcher)

[![Tests](https://github.com/welsh-tidy-mouse/binary-fetcher/actions/workflows/tests.yml/badge.svg)](https://github.com/welsh-tidy-mouse/binary-fetcher/actions/workflows/tests.yml)[![Binary Fetcher license](https://camo.githubusercontent.com/13f1ad8e0c643f49e95b28c514a1dd215021808c822e0cb189bafb652bd76e90/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77656c73682d746964792d6d6f7573652f62696e6172792d666574636865723f7075626c6963)](https://github.com/welsh-tidy-mouse/binary-fetcher/blob/master/LICENSE)

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

✅ Features
----------

[](#-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
---------

[](#-install)

```
composer require welsh-tidy-mouse/binary-fetcher
```

🚀 Usage
-------

[](#-usage)

### CLI

[](#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

[](#php)

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

🧪 Quality
---------

[](#-quality)

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

---

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/872996?v=4)[David Buros](/maintainers/lanfisis)[@lanfisis](https://github.com/lanfisis)

---

Top Contributors

[![lanfisis](https://avatars.githubusercontent.com/u/872996?v=4)](https://github.com/lanfisis "lanfisis (23 commits)")

### Embed Badge

![Health badge](/badges/welsh-tidy-mouse-binary-fetcher/health.svg)

```
[![Health](https://phpackages.com/badges/welsh-tidy-mouse-binary-fetcher/health.svg)](https://phpackages.com/packages/welsh-tidy-mouse-binary-fetcher)
```

###  Alternatives

[haifanghui/session-monster

A monster eating session cookies - works with Varnish + Laravel

148.5k](/packages/haifanghui-session-monster)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
