mirror of
https://github.com/nicoverbruggen/phpmon.git
synced 2025-08-07 20:10:08 +02:00
📝 Update documentation
* Updated README * Updated SECURITY * Revert the minimum Valet version to v2.16
This commit is contained in:
34
README.md
34
README.md
@ -27,22 +27,36 @@ PHP Monitor is a universal application that runs natively on Apple Silicon **and
|
|||||||
* macOS 11 Big Sur or later
|
* macOS 11 Big Sur or later
|
||||||
* Homebrew is installed in `/usr/local/homebrew` or `/opt/homebrew`
|
* Homebrew is installed in `/usr/local/homebrew` or `/opt/homebrew`
|
||||||
* Homebrew `php` formula is installed
|
* Homebrew `php` formula is installed
|
||||||
* Laravel Valet 3 recommended (but compatible with Valet 2)
|
* Laravel Valet (works with Valet v2, v3 and v4)
|
||||||
|
|
||||||
_You may need to update your Valet installation to keep everything working if a major version update of PHP has been released. You can do this by running `composer global update && valet install`. Some features are not supported when running Valet 2._
|
_You may need to update your Valet installation to keep everything working if a major version update of PHP has been released. You can do this by running `composer global update && valet install`. Some features are not supported when running Valet 2._
|
||||||
|
|
||||||
|
For more information, please see [SECURITY.md](./SECURITY.md) to find out which version of the app is currently supported.
|
||||||
|
|
||||||
## 🚀 How to install
|
## 🚀 How to install
|
||||||
|
|
||||||
Again, make sure you have **Laravel Valet** installed first. Once that's done, you can install via Homebrew (recommended), or may download the latest release on GitHub.
|
Again, make sure you have **[Laravel Valet](https://laravel.com/docs/master/valet)** installed first:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
composer global require laravel/valet
|
||||||
|
valet install
|
||||||
|
valet trust
|
||||||
|
```
|
||||||
|
|
||||||
|
Once that's done, you can install PHP Monitor via Homebrew (recommended), or (alternatively) you may download the latest release on GitHub.
|
||||||
|
|
||||||
To install via Homebrew, run:
|
To install via Homebrew, run:
|
||||||
|
|
||||||
brew tap nicoverbruggen/homebrew-cask
|
```sh
|
||||||
brew install --cask phpmon
|
brew tap nicoverbruggen/homebrew-cask
|
||||||
|
brew install --cask phpmon
|
||||||
|
```
|
||||||
|
|
||||||
To upgrade your existing installation, run:
|
To upgrade your existing installation, run:
|
||||||
|
|
||||||
brew upgrade phpmon
|
```sh
|
||||||
|
brew upgrade phpmon
|
||||||
|
```
|
||||||
|
|
||||||
(You may need to run `brew update` or `brew update-reset` first in order to update the cask file if you ran a Homebrew operation recently.)
|
(You may need to run `brew update` or `brew update-reset` first in order to update the cask file if you ran a Homebrew operation recently.)
|
||||||
|
|
||||||
@ -127,12 +141,12 @@ brew tap shivammathur/php
|
|||||||
|
|
||||||
You may find that this tap is already in use: if you've used Valet before, it automatically uses this tap for legacy versions of PHP.
|
You may find that this tap is already in use: if you've used Valet before, it automatically uses this tap for legacy versions of PHP.
|
||||||
|
|
||||||
You can then install those older versions:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
brew install php@7.0
|
brew install shivammathur/php/php@7.4
|
||||||
brew install php@7.1
|
brew install shivammathur/php/php@7.3
|
||||||
...
|
brew install shivammathur/php/php@7.2
|
||||||
|
brew install shivammathur/php/php@7.1
|
||||||
|
brew install shivammathur/php/php@7.0
|
||||||
```
|
```
|
||||||
|
|
||||||
**Always make sure to restart PHP Monitor after installing or upgrading PHP versions!**
|
**Always make sure to restart PHP Monitor after installing or upgrading PHP versions!**
|
||||||
|
@ -6,7 +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 |
|
| Version | Apple Silicon | Supported | Supported macOS | Deployment Target | Detected PHP Versions | Recommended Valet Version |
|
||||||
| ------- | ------------- | ------------------ | ----- | ----- | ----- | ----
|
| ------- | ------------- | ------------------ | ----- | ----- | ----- | ----
|
||||||
| 6.x | ✅ Universal binary | ✅ Yes | Big Sur (11.0)<br/>Monterey (12.0)<br/>Ventura (13.0) | macOS 11+ | PHP 5.6—PHP 8.2 (w/ Valet 2.x)<br/>PHP 7.0—PHP 8.2 (w/ Valet 3.x)<br/>PHP 7.4-PHP 8.2 (w/ Valet 4.x) | 3.0 or higher recommended<br/> 2.16.2 minimum |
|
| 5.7 | ✅ Universal binary | ✅ Yes | Big Sur (11.0)<br/>Monterey (12.0)<br/>Ventura (13.0) | macOS 11+ | PHP 5.6—PHP 8.2 (w/ Valet 2.x)<br/>PHP 7.0—PHP 8.2 (w/ Valet 3.x)<br/>PHP 7.4-PHP 8.2 (w/ Valet 4.x*) | 3.0 or higher recommended<br/> 2.16.2 minimum |
|
||||||
|
|
||||||
|
(*) Preliminary listing. Valet 4 hasn't been released yet and the versions of PHP Valet can work with might still change.
|
||||||
|
|
||||||
## Legacy versions
|
## Legacy versions
|
||||||
|
|
||||||
|
@ -14,9 +14,9 @@ struct Constants {
|
|||||||
If the installed version is older, a notification will be shown
|
If the installed version is older, a notification will be shown
|
||||||
every time the app launches (with a recommendation to upgrade).
|
every time the app launches (with a recommendation to upgrade).
|
||||||
|
|
||||||
See also: https://github.com/laravel/valet/releases/tag/v3.1.10
|
See also: https://github.com/laravel/valet/releases/tag/v2.16.2
|
||||||
*/
|
*/
|
||||||
static let MinimumRecommendedValetVersion = "3.1.10"
|
static let MinimumRecommendedValetVersion = "2.16.2"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The PHP versions supported by this application.
|
* The PHP versions supported by this application.
|
||||||
|
Reference in New Issue
Block a user