PHPackages                             wyrihaximus/fake-php-version - 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. wyrihaximus/fake-php-version

ActiveLibrary

wyrihaximus/fake-php-version
============================

Ever wanted a fake non-existing version number of PHP, well this package is for you!

1.9.28(2mo ago)36.4k↓100%1[1 issues](https://github.com/WyriHaximus/php-fake-php-version/issues)[6 PRs](https://github.com/WyriHaximus/php-fake-php-version/pulls)MITPHPPHP ^8 || ^7.4CI failing

Since Oct 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/php-fake-php-version)[ Packagist](https://packagist.org/packages/wyrihaximus/fake-php-version)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/wyrihaximus-fake-php-version/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (124)Used By (0)

php-fake-php-version
====================

[](#php-fake-php-version)

[![Continuous Integration](https://github.com/WyriHaximus/php-fake-php-version/actions/workflows/ci.yml/badge.svg)](https://github.com/WyriHaximus/php-fake-php-version/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/3a9089b6f742d499727a555e88b29f8d69fb7ac29f232ffa1540f7550f1ebe69/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f66616b652d7068702d76657273696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/fake-php-version)[![Total Downloads](https://camo.githubusercontent.com/91ccaf527164df3384374a7209f984a7505cea58c2c29a511ac0b42719745db1/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f66616b652d7068702d76657273696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/fake-php-version)[![License](https://camo.githubusercontent.com/8dc383f80ae2f9602b351486213778e82bb81ee9f623226c434ebe9c807f6827/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f66616b652d7068702d76657273696f6e2f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/fake-php-version)

Ever wanted a fake non-existing version number of PHP, well this package is for you!

Install
-------

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require wyrihaximus/fake-php-version

```

Available constants
-------------------

[](#available-constants)

- `WyriHaximus\FakePHPVersion\Versions::FUTURE` - Version in the next mayor version of PHP e.g. 8.98.9001
- `WyriHaximus\FakePHPVersion\Versions::CURRENT` - Version in the current mayor version of PHP e.g. 7.133.666
- `WyriHaximus\FakePHPVersion\Versions::ACTUAL` - Actual current version of PHP

The `WyriHaximus\FakePHPVersion\FUTURE`, `WyriHaximus\FakePHPVersion\Versions::CURRENT`, and `WyriHaximus\FakePHPVersion\Versions::ACTUAL` constants are still available but deprecated. v2 will drop them and be `Versions` class only.

License
-------

[](#license)

Copyright 2025 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance81

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~20 days

Recently: every ~28 days

Total

116

Last Release

62d ago

PHP version history (3 changes)1.0.0PHP ^7.0 || ^5.6

1.8.0PHP ^7.0

1.9.0PHP ^8 || ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (300 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")[![renovate-runner[bot]](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/renovate-runner[bot] "renovate-runner[bot] (8 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

fakehacktoberfestphpversion

### Embed Badge

![Health badge](/badges/wyrihaximus-fake-php-version/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-fake-php-version/health.svg)](https://phpackages.com/packages/wyrihaximus-fake-php-version)
```

PHPackages © 2026

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