nicoverbruggen / phpmon

Lightweight, native Mac menu bar app that helps you manage multiple PHP installations, locate config files and more. Also interacts with Laravel Valet.

Home Page:https://phpmon.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Bulk manage PHP versions

vesper8 opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues and discussions

Is this feature request related to a problem?

I am trying to resolve a weird problem after updating to 14.1.1. So I've uninstalled Valet and uninstalled all php versions and am now reinstalling everything. It would have been helpful to have an 'install all' in your PHP Manager to make this process a bit less painful.

I also notice that in doing what I've done, I've lost the Redis extension and I'm forgetful

Describe the solution you'd like to see

Add a install all / uninstall all php versions. Also, add ability to install extensions (such as Redis)

Additional information or context

Many thanks for the consideration!

Extension management will be added in v7.0 (see #266).

I'll see what I can do about bulk installing PHP versions... it's certainly a quality of life change I'd consider adding so you don't have to wait between each installation.

On a related note, if I am installing PHP 8.4 beta, will I be able to patch any 8.4 patches/updates that are released using PHP Monitor

@abishekrsrikaanth You can, but only with a workaround... you will need to remove and reinstall to patch pre-release versions with the current release of PHP Monitor, since the app believes the version number hasn't changed.

I'm actually looking into making sure that these versions can be upgraded gracefully too, without causing too many 'update available' notifications.

I'm going to close this issue, as doing bulk installations and/or removals is more of a hassle than I'm willing to implement at this time.

Extension management is functional in the upcoming v7, fortunately.

I may come back to this issue, but only when I can guarantee that it will work flawlessly. See also #272 which aims to improve the PHP Version Manager, which I consider a prerequisite for changes like these.