PHPackages                             torfs-ict/grumphp-php-selector - 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. torfs-ict/grumphp-php-selector

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

torfs-ict/grumphp-php-selector
==============================

Select your local PHP executable to execute GrumPHP tasks

1.0.2(2y ago)029MITPHPPHP ^8.1

Since Oct 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/torfs-ict/grumphp-php-selector)[ Packagist](https://packagist.org/packages/torfs-ict/grumphp-php-selector)[ RSS](/packages/torfs-ict-grumphp-php-selector/feed)WikiDiscussions main Synced yesterday

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

GrumPHP PHP selector extension
==============================

[](#grumphp-php-selector-extension)

Description
-----------

[](#description)

[GrumPHP](https://packagist.org/packages/grumphp/grumphp) does not allow to select the actual PHP version to use to execute its tasks as it directly uses the `bin`executable. This extension attempts to solve this by allowing you to define the actual PHP binary in a separate environment variable file.

Installation
------------

[](#installation)

```
$ composer require --dev torfs-ict/grumphp-php-selector
```

Then, edit your [GrumPHP](https://packagist.org/packages/grumphp/grumphp) configuration file and register the extension:

```
# grumphp.yml
grumphp:
  extensions:
    - TorfsICT\GrumPHP\PhpSelector\PhpSelectorGrumPHPExtension
```

After that, create `.env.grumphp` in your project root containing the `GRUMPHP_PHP_EXECUTABLE` variable:

```
# .env.grumphp
GRUMPHP_PHP_EXECUTABLE=php8.2
```

We suggest adding this file to your `.gitignore` so everyone working on the project can choose to use this or not. Note that the `.env.grumphp` is optional and omitting it will simply make [GrumPHP](https://packagist.org/packages/grumphp/grumphp) behave as usual.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~0 days

Total

3

Last Release

998d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8181149?v=4)[Kristof Torfs](/maintainers/kristoftorfs)[@kristoftorfs](https://github.com/kristoftorfs)

---

Top Contributors

[![kristoftorfs](https://avatars.githubusercontent.com/u/8181149?v=4)](https://github.com/kristoftorfs "kristoftorfs (8 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/torfs-ict-grumphp-php-selector/health.svg)

```
[![Health](https://phpackages.com/badges/torfs-ict-grumphp-php-selector/health.svg)](https://phpackages.com/packages/torfs-ict-grumphp-php-selector)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[deptrac/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers.

3.0k8.8M118](/packages/deptrac-deptrac)[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

6003.7M96](/packages/roave-backward-compatibility-check)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4814.0M25](/packages/coenjacobs-mozart)[v.chetkov/php-clean-architecture

PHP Clean Architecture

14661.1k](/packages/vchetkov-php-clean-architecture)

PHPackages © 2026

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