PHPackages                             bluedot-bd/php-version-manager - 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. bluedot-bd/php-version-manager

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

bluedot-bd/php-version-manager
==============================

Manage PHP cli versions with ease

0.0.4(2y ago)019[1 issues](https://github.com/bluedot-bd/php-version-manager/issues)MITPHPPHP \*

Since Jul 25Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bluedot-bd/php-version-manager)[ Packagist](https://packagist.org/packages/bluedot-bd/php-version-manager)[ RSS](/packages/bluedot-bd-php-version-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

PHP Version Manager
===================

[](#php-version-manager)

PHP Version Manager is a CLI tool designed to make it easier to manage multiple PHP versions on your system. As a developer, you often find yourself working with multiple projects, each requiring a different PHP version. This can be a bit frustrating as your system only allows one PHP version in the system path at a time. Changing the PHP version every time you need to work with a different project can become cumbersome. PHP Version Manager simplifies this process by enabling each project to have its own PHP version in the CLI.

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

[](#installation)

To install PHP Version Manager, you need to have Composer installed on your system. Once you have Composer, you can install PHP Version Manager globally by running the following command:

```
composer global require bluedot-bd/php-version-manager
```

Usage
-----

[](#usage)

To use PHP Version Manager, navigate to the root directory of your project in the CLI and run the `phpver` command. The tool will scan your project's composer.json file to determine the required PHP version.

If a composer.json file is not found, or if the file does not specify a PHP version, PHP Version Manager will prompt you to select a PHP version from the versions available on your system.

Here is how you use the phpver command:

```
cd /path/to/your/project
phpver
```

The first time you run the command, PHP Version Manager will ask for the directory where your PHP versions are stored. The tool will remember this directory for future use.

Once the command has run successfully, a `php.cmd` and `php` file will be created in your project's root directory. This file sets the PHP version for the CLI in that directory to the version determined by PHP Version Manager. This means that any PHP command you run in that directory will use the correct PHP version for your project.

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a pull request or open an issue on GitHub.

License
-------

[](#license)

PHP Version Manager is open-source software licensed under the MIT license.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

1028d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83ecd8b30346a2ccad38e5148b0526f0e391a273719e3bcbd55e2a1743726814?d=identicon)[saaiful](/maintainers/saaiful)

---

Top Contributors

[![saaiful](https://avatars.githubusercontent.com/u/4525049?v=4)](https://github.com/saaiful "saaiful (6 commits)")

### Embed Badge

![Health badge](/badges/bluedot-bd-php-version-manager/health.svg)

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

###  Alternatives

[maize-tech/laravel-helpers

Laravel Helpers

302.0k](/packages/maize-tech-laravel-helpers)

PHPackages © 2026

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