As part of the boot procedure, recommend upgrading Valet if the version
seems to be too old. For version 4.1 of PHP Monitor, the version has
been hard-coded to 2.16.2 (for PHP 8.1 compatibility).
- Avoid preloading list of sites twice
- Avoid loading Valet info twice
- Preload list of sites if <= 10 sites linked + parked
- Added fallback for missing instructions
- Improved description
In rare cases, the version corresponding to the `php` formula might not
be installed, but another alias is linked correctly. That means that the
PHP binary is found, but the core formula is not. PHP Monitor will
incorrectly report that it exists, which means the user can break their
PHP installation. Oops.
This quick fix handles that situation:
- Checks if the PHP binary for the `php` aliased version exists
(located in $optdir/php/bin/php)
- Disables the force load option if the aliased version is missing
(including a tweaked label if the version is missing)
* The information extracted from Homebrew's JSON command now also
includes information about linked keg and installations.
* The mapped versions in the App class now contain information about
the Homebrew installation as well.
* A HomebrewDiagnostics class has been added, which is currently able
to detect conflicts between the `php` formulae of core and the
`shivammathur/php` tap (which is currently an issue, see #54)
* Alerts are now displayed as critical if they are truly problematic.
* PhpInstallation was renamed to ActivePhpInstallation, to make room
for a generic PhpInstallation object which contains cached info.
* Shell.pipe() now returns the contents of standardError if
standardOutput was empty and there was some data in standardError.
This makes it easier to debug the output of commands that output to
standardError. (For example, failed brew commands might.)
* The README has been updated with additional information
* The acknowledgements section has been added to the README
* The php@X.X/opt/bin/php-config binary is now used (#39)
* Extensions are now loaded from all possible .ini files
* PHP Monitor's preferences window can now be triggered via hotkey
* The first nine extensions can be triggered via hotkey
By pressing Command-R while the menu is open, the information about the
current PHP installation will be refreshed.
You'll need to open the menu again, but now it will contain up-to-date
information. You could also just press the menu item, of course.
Merge branch 'develop' into main
* develop:
📝 Updated README, SECURITY docs
🍱 Updated screenshot to Big Sur
♻️ Cleanup
🚧 WIP: Notify the user about PHP switch completion (#15)
- Bump version number to 2.3
- Disable Metal validation in project configuration
- Added comments to various files to clarify code
- Moved various strings to Localizable.strings
- Removed references to old view controller for command log
- No longer log previously ran commands