From 96ce462021fcdac4032a1f8fd63c0677fab9d9c4 Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Mon, 20 Jun 2022 19:10:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20README=20and=20SECURITY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 26 +++++++++++++++++--------- SECURITY.md | 10 +++++----- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 04afb21..beb8f1a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ You can also add new domains as links, isolate sites, manage various services, a PHP Monitor is a universal application that runs natively on Apple Silicon **and** Intel-based Macs. * Your user account can administer your computer (required for some functionality, e.g. certificate generation) -* macOS 11 Big Sur or higher (supports macOS 12 Monterey) +* macOS 11 Big Sur or later * Homebrew is installed in `/usr/local/homebrew` or `/opt/homebrew` * Homebrew `php` formula is installed * Laravel Valet 3 recommended (but compatible with Valet 2) @@ -106,12 +106,10 @@ Super convenient! If you want to set up your computer for the very first time with PHP Monitor, here's how I do it: -Install [Homebrew](https://brew.sh) first. +Install [Homebrew](https://brew.sh) first. Follow the instructions there first! -Install PHP, composer, add to path: +Then, you'll need to set up your PATH. - brew install php - brew install composer nano .zshrc Make sure the following line is not in the comments: @@ -124,21 +122,26 @@ If you're on an Apple Silicon-based Mac, you'll need to add: # on an M1 Mac export PATH=$HOME/bin:/opt/homebrew/bin:$PATH -and add the following to your .zshrc, but add this BEFORE the homebrew PATH additions: +and add the following to your `.zshrc` file, but add this BEFORE the homebrew PATH additions: export PATH=$HOME/bin:~/.composer/vendor/bin:$PATH -If you're adding composer and Homebrew binaries, ensure that Homebrew binaries are preferred by adding these to the path last. On my system, that looks like this: +If you're adding `composer` and Homebrew binaries, ensure that Homebrew binaries are preferred by adding these to the path last. On my system, that looks like this: export PATH=$HOME/bin:/usr/local/bin:$PATH export PATH=$HOME/bin:~/.composer/vendor/bin:$PATH export PATH=$HOME/bin:/opt/homebrew/bin:$PATH +Install the `php` and `composer` formulae: + + brew install php composer + brew install composer + Make sure PHP is linked correctly: which php -should return: `/usr/local/bin/php` (or `/opt/homebrew/bin/php`) +should return: `/usr/local/bin/php` (or `/opt/homebrew/bin/php` if you are on Apple Silicon) composer global require laravel/valet valet install @@ -147,7 +150,12 @@ This should install `dnsmasq` and set up Valet. Great, almost there! valet trust -Finally, run PHP Monitor. Since the app is notarized and signed with a developer ID, it should work. +You can now install PHP Monitor, if you haven't already: + + brew tap nicoverbruggen/homebrew-cask + brew install --cask phpmon + +Finally, run PHP Monitor. Since the app is notarized and signed with a developer ID, it should work. You will need to approve the initial launch of the app, but you should be ready to go now.
diff --git a/SECURITY.md b/SECURITY.md index 41a2df9..1c149f3 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,9 +6,9 @@ Generally speaking, only the latest version of **PHP Monitor** is supported, exc | Version | Apple Silicon | Supported | Supported macOS | Deployment Target | Detected PHP Versions | Recommended Valet Version | | ------- | ------------- | ------------------ | ----- | ----- | ----- | ---- -| 5.x | ✅ Universal binary | ✅ Yes | Big Sur (11.0) and Monterey (12.0) | macOS 11+ | PHP 5.6—PHP 8.2 (*) | 3.0 (2.16.2 minimum) | +| 5.x | ✅ Universal binary | ✅ Yes | Big Sur (11.0)
Monterey (12.0)
Ventura (13.0)* | macOS 11+ | PHP 5.6—PHP 8.2 (w/ Valet 2.x)
PHP 7.0—PHP 8.2 (w/ Valet 3.x) | 3.0 recommended
2.16.2 minimum | -_(*) Support for PHP 5.6 is only included if you are using Valet 2.x, since support for PHP 5.6 was dropped in Valet 3.0._ +_(*) macOS Ventura (13.0) is not officially supported until it officially releases._ ## Legacy versions @@ -16,9 +16,9 @@ These versions of PHP Monitor are no longer supported, but if you’re using an | Version | Apple Silicon | Supported | Supported macOS | Deployment Target | Detected PHP Versions | Minimum Required Valet Version | | ------- | ------------- | ------------------ | ----- | ----- | ----- | ---- -| 4.1 | ✅ Universal binary | ❌ | Big Sur (11.0) and Monterey (12.0) | macOS 11+ | PHP 5.6—PHP 8.2 | 2.16.2 | -| 4.0 | ✅ Universal binary | ❌ | Big Sur (11.0) and Monterey (12.0) | macOS 10.14+ | PHP 5.6—PHP 8.2 | 2.13 | -| 3.5 | ✅ Universal binary | ❌ | Big Sur (11.0) and Monterey (12.0) | macOS 10.14+ | PHP 5.6—PHP 8.2 | 2.13 | +| 4.1 | ✅ Universal binary | ❌ | Big Sur (11.0)
Monterey (12.0) | macOS 11+ | PHP 5.6—PHP 8.2 | 2.16.2 | +| 4.0 | ✅ Universal binary | ❌ | Big Sur (11.0)
Monterey (12.0) | macOS 10.14+ | PHP 5.6—PHP 8.2 | 2.13 | +| 3.5 | ✅ Universal binary | ❌ | Big Sur (11.0)
Monterey (12.0) | macOS 10.14+ | PHP 5.6—PHP 8.2 | 2.13 | | 3.0—3.4 | ✅ Universal binary | ❌ | Big Sur (11.0) | macOS 10.14+ | PHP 5.6—PHP 8.1 | 2.13 | | 2.6 | ✅ Universal binary | ❌ | Big Sur (11.0) | macOS 10.14+ | PHP 5.6—PHP 8.0 | 2.13 | | 2.5 | ✴️ Universal binary
`/usr/local/homebrew` installations only | ❌ | Big Sur (11.0)
Catalina (10.15) | macOS 10.14+ | not applicable | not applicable |