PHPackages                             imsuperlative/install-release-binary - 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. imsuperlative/install-release-binary

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

imsuperlative/install-release-binary
====================================

Download and manage GitHub release binaries

v0.3.1(2mo ago)031MITPHPPHP ^8.4

Since Feb 19Pushed 2mo agoCompare

[ Source](https://github.com/ImSuperlative/install-release-binary)[ Packagist](https://packagist.org/packages/imsuperlative/install-release-binary)[ RSS](/packages/imsuperlative-install-release-binary/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (10)Versions (5)Used By (0)

Install Release Binary
======================

[](#install-release-binary)

Download and install release binaries in Laravel.

Install
-------

[](#install)

```
composer require imsuperlative/install-release-binary
```

Usage
-----

[](#usage)

Create a class for each binary and bind it in a service provider:

```
class Ffmpeg extends ReleaseBinary {}
```

```
// AppServiceProvider
$this->app->bind(Ffmpeg::class, fn () => new Ffmpeg(
    new GithubBinary('btbn/ffmpeg-builds', 'v7.1', 'ffmpeg'),
));
```

Then use it anywhere. `ensureExists()` downloads and installs the binary if it's missing:

```
app(Ffmpeg::class)->ensureExists();
app(Ffmpeg::class)->path(); // storage/app/ffmpeg
```

Artisan Command
---------------

[](#artisan-command)

Use the `WithBinaryInstall` trait to cut down on boilerplate. Add `{--force}` to your signature and call `installBinary()`:

```
use Illuminate\Console\Command;
use ImSuperlative\ReleaseBinary\WithBinaryInstall;

class FfmpegInstallCommand extends Command
{
    use WithBinaryInstall;

    protected $signature = 'ffmpeg:install {--force}';

    public function handle(Ffmpeg $ffmpeg): int
    {
        return $this->installBinary($ffmpeg);
    }
}
```

Or without a dedicated class:

```
class FfmpegInstallCommand extends Command
{
    use WithBinaryInstall;

    protected $signature = 'ffmpeg:install {--force}';

    public function handle(): int
    {
        return $this->installBinary(new ReleaseBinary(
            new GithubBinary('btbn/ffmpeg-builds', 'v7.1', 'ffmpeg'),
        ));
    }
}
```

Config
------

[](#config)

Publish the config to change the install path:

```
php artisan vendor:publish --tag=release-binary-config
```

```
// config/release-binary.php
return [
    'bin_path' => null, // defaults to storage_path('app')
];
```

Custom Sources
--------------

[](#custom-sources)

Implement `BinarySource` to support non-GitHub sources:

```
use ImSuperlative\ReleaseBinary\BinarySource;

class S3Binary implements BinarySource
{
    public function filename(): string { /* ... */ }
    public function download(string $destination): void { /* ... */ }
    public function verify(string $filePath): void { /* ... */ }
}
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance86

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~21 days

Total

4

Last Release

71d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22404758?v=4)[Ruben](/maintainers/ImSuperlative)[@ImSuperlative](https://github.com/ImSuperlative)

---

Top Contributors

[![ImSuperlative](https://avatars.githubusercontent.com/u/22404758?v=4)](https://github.com/ImSuperlative "ImSuperlative (5 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/imsuperlative-install-release-binary/health.svg)

```
[![Health](https://phpackages.com/badges/imsuperlative-install-release-binary/health.svg)](https://phpackages.com/packages/imsuperlative-install-release-binary)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M374](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

244.6M136](/packages/illuminate-cookie)

PHPackages © 2026

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