Skip to content

Releases: nicoverbruggen/phpmon

v5.6.1

Compare
Choose a tag to compare

PHP Monitor 5.6.1 is a minor update that fixes a few bugs that may have caused issues for some users when starting the app. As usual, all users are recommended to upgrade.

Upgrading

The recommended way of upgrading is running brew update-reset && brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor.

If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

Resolved Issues

  • Fixed an issue where the update checker would link to the incorrect URL (#195).
  • Fixed an issue where the app wouldn't progress past initial PATH determination, causing the icon to either freeze or not appear (#194).
  • If the scanApps property is missing in the custom configuration file, the config file will now still be read correctly.

v5.6

Compare
Choose a tag to compare

PHP Monitor 5.6 is a quality of life release and improves the ease of use of the site isolation feature, and introduces the ability of users to customize what appears in the main menu when you click on the version number (or truck icon).

Upgrading

The recommended way of upgrading is running brew update-reset && brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

What's New in 5.6

  • In Preferences there's a new Visibility tab. Here you can hide specific features from PHP Monitor's main menu: only keep what you really need!

  • The way the contextual menu works in the domain list has been modified. Instead of having to left-click on a domain before right-clicking, you can now instantly right-click on the item in question, and the domain will immediately be selected.

  • Upon right-clicking, if a site is already isolated, you will be able to instantly choose a different version of PHP to switch to for that site. (Think of this as a switcher... this means you won't have to remove site isolation and then manually reisolate the site again with your preferred PHP version. Thankfully!)

v5.5.1

Compare
Choose a tag to compare

This release fixes an issue that could occur if your username and your home directory have different names. This could have caused various issues in versions <5.5, but since the latest minor update the app wouldn't start on systems with this issue. This has now been resolved.

Upgrading

The recommended way of upgrading is running brew update-reset && brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

Resolved in 5.5.1

  • whoami is no longer used, instead id -un is used to determine the active user's username. (#189)
  • The user's home directory is now correctly determined and used where necessary. (#189)

What's New in 5.5

  • Added PHP Doctor, which will alert you if there are issues with your setup in regard to file permissions and such. For now, the recommendations are limited to ensuring you are running the optimal version of Homebrew on M1 and related to ensuring that the helper files can be generated and symlinked correctly.
  • Added support for custom environment variables (#183, consult the issue or FAQ for more information).
  • Added a new "Welcome to PHP Monitor" onboarding screen (only displayed at first launch, #181).

v5.5

Compare
Choose a tag to compare

This release adds a few new features (PHP Doctor, a better onboarding experience and custom environment variable support) to PHP Monitor. This release also includes a various bugfixes that should improve the experience for new users or users who have difficulties with their Valet setup. All users are recommended to upgrade.

Upgrading

The recommended way of upgrading is running brew update-reset && brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

What's New

  • Added PHP Doctor, which will alert you if there are issues with your setup in regard to file permissions and such. For now, the recommendations are limited to ensuring you are running the optimal version of Homebrew on M1 and related to ensuring that the helper files can be generated and symlinked correctly.
  • Added support for custom environment variables (#183, consult the issue or FAQ for more information).
  • Added a new "Welcome to PHP Monitor" onboarding screen (only displayed at first launch, #181).

Resolved Issues

  • Fixed an issue with the text in the "could not check for updates" alert (#185).
  • PHP Doctor now alerts you about #179 and #171 (both require manual user intervention).
  • The app now checks if you ran valet install (#182).
  • The app will no longer crash if it has difficulty parsing your Valet version number (#188).
  • This build has been tested with macOS Ventura, and should work. I have not tested every feature extensively, so please let me know if you encounter any issues. (#176).

v5.4.1

Compare
Choose a tag to compare

This is a bugfix release that fixes an issue with PHP Monitor 5.4. All users are recommended to upgrade.

Upgrading

The recommended way of upgrading is running brew update-reset && brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

Resolved Issues

  • You will now get notified if your global Composer dependencies are incompatible after switching to a different PHP version. (#178)
  • PHP Monitor will refuse to start if your global Composer dependencies are incompatible with the currently globally linked PHP version. (#178)
  • PHP Monitor's custom modals will now appear a little bit higher up than before. I always felt like their position was off ever so slightly (compared to the system modals) and now they will appear a little higher up.

v5.4

Compare
Choose a tag to compare

This release adds a variety of new features, including support for custom services, presets and various other improvements. For the full list of changes, please see What's New below.

If you want to learn more and see some screenshots, please see the blog post on my website.

What's New

  • The configuration file has been moved to ~/.config/phpmon/config.json. If you had a custom configuration file before, it will be automatically copied to the new location.

  • Various views throughout the app have been rewritten and now use SwiftUI. If something looks off, please let me know. If you are on macOS 11, please get in touch and let me know if you encounter issues with the appearance of the app.

  • Services can now be started and stopped by pressing on the status icon (cross or checkmark) in the dropdown when you click on PHP Monitor's icon.

  • The Preferences window was getting a bit big, so it now has multiple tabs. A new section for granular notification settings has also been added.

  • You can now toggle Xdebug modes via Manage Xdebug. You can also disable all modes at once by choosing Disable All, which disables all modes and sets the value of xdebug.mode to off. Xdebug must be installed for this option to appear.

  • You can now add Configuration Presets to PHP Monitor. You must set these up in a JSON file, located in ~/.config/phpmon/config.json. You must have set up at least one valid preset for this item to appear in PHP Monitor. Here's a template you can use to get started:

{
    "scan_apps": [],
    "services": [],
    "presets": [
        {
            "name": "Legacy Project",
            "php": "8.0",
            "extensions": {
                "xdebug": false
            },
            "configuration": {
                "memory_limit": "128M",
                "upload_max_filesize": "128M",
                "post_max_size": "128M"
            }
        },
        {
            "name": "Modern Project",
            "php": "8.1",
            "extensions": {
                "xdebug": true
            },
            "configuration": {
                "xdebug.mode": "coverage",
                "memory_limit": "512M",
                "upload_max_filesize": "512M",
                "post_max_size": "512M"
            }
        }
    ]
}
  • You can specify custom services in the configuration file for Homebrew services that run as your own user (not root). You can find out which services are available by running brew services list. While you can add the Valet services again (php, dnsmasq, nginx), this is not recommended and will break the app. For example, you can do this:
{
    "scan_apps": [],
    "services": ["mailhog", "mysql"],
    "presets": []
}
  • This build has been tested with macOS Ventura, and should work. I have not tested every feature extensively, so please let me know if you encounter any issues.

Known Issues

  • If there are permission issues reading the contents of the /private/etc/sudoers.d/brew or /private/etc/sudoers.d/brew files, the app will tell you to run valet secure. Instead, you should fix permissions for these files.
  • If the /usr/local/bin directory is not writeable, the app will silently fail to write the PHP version helpers without notifying the user.
  • Custom services that need to start as root are currently not supported. Custom services currently always start as owned by the current user (not root).

v5.3.2

Compare
Choose a tag to compare

This is a bugfix release that fixes an issue with PHP Monitor 5.3. All users are recommended to upgrade.

Upgrading

The recommended way of upgrading is running brew update-reset && brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

Resolved Issues

  • Starting the app now fixes any issues that may exist with www pools and port conflicts (#173). This could occur if you've upgraded the PHP version, but haven't run valet install after upgrading a PHP version.
  • Fixed an issue that would cause the site isolation feature not to work correctly if you have more than 50 domains in the domains list, assuming the fixing the www pools was needed.
  • Removed two test files from application target, which means these are no longer included in the PHP Monitor.app file.

v5.3.1

Compare
Choose a tag to compare

This is a bugfix release that fixes an issue with PHP Monitor 5.3. All users are recommended to upgrade.

Upgrading

The recommended way of upgrading is running brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

Resolved Issues

  • Fixed an issue where the green checkmark would be displayed for every domain in the domain list, regardless of the PHP version compatibility. The compatibility status was determined correctly, but the checkmark always was incorrectly shown.

v5.3

Compare
Choose a tag to compare

This release adds support for creating and managing Valet proxies, which will now be displayed in the list of domains. Also new: starting with this release, the app will automatically notify you about updates. (You can disable this automatic check if you prefer.)

What's New

  • You can now see which proxies are active in the domains list.
  • You can now set up a new proxy (by clicking the + button) via the UI.
  • You can now remove a proxy by right-clicking on the proxy in the list and selecting the option to remove it. You will need to confirm the removal.
  • You can (un)secure an existing proxy (which will recreate the proxy) by right-clicking on the proxy in the list and selecting the appropriate option.
  • The app will now automatically check if an updated version is available. You can disable the automatic check (which happens when PHP Monitor is launched) in Preferences.

Resolved Issues

  • Fixed an issue with the tertiary action in alerts if no secondary action was specified.

Known Issues

  • If there are permission issues reading the contents of the /private/etc/sudoers.d/brew or /private/etc/sudoers.d/brew files, the app will tell you to run valet secure. Instead, you should fix permissions for these files.
  • If the /usr/local/bin directory is not writeable, the app will silently fail to write the PHP version helpers without notifying the user.

v5.2.2

Compare
Choose a tag to compare

This is a bugfix release that fixes various minor issues with PHP Monitor 5.2. Due to the nature of the fixes included in this update, upgrading to this release is recommended for all users of PHP Monitor.

Upgrading

The recommended way of upgrading is running brew upgrade phpmon after you've installed PHP Monitor using Homebrew. This always gets you the latest and greatest stable version of PHP Monitor. If you did not use Homebrew to install the app, you can download a zip below (by expanding Assets and choosing phpmon.zip).

Resolved Issues

  • Fixed an issue where PHP 5.6 would not show up in the menu when running Valet 2 (#165)
  • Fixed an issue that crashed the app when switching to pre-release versions PHP 8.2 (#162)
  • Fixed an issue where PHP-FPM automatic pool disabling would not work if the fix was already applied before. This resulted in the PHP service reporting itself as not working correctly (#149)
  • Tweaked the text in various alerts for those who want to use PHP 8.2 with PHP Monitor, even though this isn't officially supported yet (#162)