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

ActiveLibrary

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 1mo ago

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 37% 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

952d 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

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)

PHPackages © 2026

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