-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
231 changed files
with
8,138 additions
and
2,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
138 changes: 138 additions & 0 deletions
138
PHP Monitor.xcodeproj/xcshareddata/xcschemes/PHP Monitor DEV.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1320" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
<BuildActionEntries> | ||
<BuildActionEntry | ||
buildForTesting = "YES" | ||
buildForRunning = "YES" | ||
buildForProfiling = "YES" | ||
buildForArchiving = "YES" | ||
buildForAnalyzing = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C41C1B3222B0097F00E7CF16" | ||
BuildableName = "PHP Monitor.app" | ||
BlueprintName = "PHP Monitor" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</BuildActionEntry> | ||
</BuildActionEntries> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug.Dev" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
codeCoverageEnabled = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO" | ||
parallelizable = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C4F7807825D7F84B000DBC97" | ||
BuildableName = "Unit Tests.xctest" | ||
BlueprintName = "Unit Tests" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
<TestableReference | ||
skipped = "NO" | ||
parallelizable = "YES"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C471E7BB28F9B90F0021E251" | ||
BuildableName = "UI Tests.xctest" | ||
BlueprintName = "UI Tests" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C471E7AC28F9B4940021E251" | ||
BuildableName = "Feature Tests.xctest" | ||
BlueprintName = "Feature Tests" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug.Dev" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
enableGPUValidationMode = "1" | ||
allowLocationSimulation = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C41C1B3222B0097F00E7CF16" | ||
BuildableName = "PHP Monitor.app" | ||
BlueprintName = "PHP Monitor" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
<CommandLineArguments> | ||
<CommandLineArgument | ||
argument = "--v" | ||
isEnabled = "NO"> | ||
</CommandLineArgument> | ||
<CommandLineArgument | ||
argument = "--configuration:~/.phpmon_fconf_working.json" | ||
isEnabled = "NO"> | ||
</CommandLineArgument> | ||
<CommandLineArgument | ||
argument = "--configuration:~/.phpmon_fconf_broken.json" | ||
isEnabled = "NO"> | ||
</CommandLineArgument> | ||
</CommandLineArguments> | ||
<EnvironmentVariables> | ||
<EnvironmentVariable | ||
key = "EXTREME_DOCTOR_MODE" | ||
value = "" | ||
isEnabled = "NO"> | ||
</EnvironmentVariable> | ||
<EnvironmentVariable | ||
key = "PAINT_PHPMON_SWIFTUI_VIEWS" | ||
value = "" | ||
isEnabled = "NO"> | ||
</EnvironmentVariable> | ||
</EnvironmentVariables> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release.Dev" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
<BuildableProductRunnable | ||
runnableDebuggingMode = "0"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C41C1B3222B0097F00E7CF16" | ||
BuildableName = "PHP Monitor.app" | ||
BlueprintName = "PHP Monitor" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</BuildableProductRunnable> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug.Dev"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release.Dev" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
PHP Monitor.xcodeproj/xcshareddata/xcschemes/Unit Tests.xcscheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Scheme | ||
LastUpgradeVersion = "1400" | ||
version = "1.3"> | ||
<BuildAction | ||
parallelizeBuildables = "YES" | ||
buildImplicitDependencies = "YES"> | ||
</BuildAction> | ||
<TestAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
shouldUseLaunchSchemeArgsEnv = "YES"> | ||
<Testables> | ||
<TestableReference | ||
skipped = "NO"> | ||
<BuildableReference | ||
BuildableIdentifier = "primary" | ||
BlueprintIdentifier = "C4F7807825D7F84B000DBC97" | ||
BuildableName = "Unit Tests.xctest" | ||
BlueprintName = "Unit Tests" | ||
ReferencedContainer = "container:PHP Monitor.xcodeproj"> | ||
</BuildableReference> | ||
</TestableReference> | ||
</Testables> | ||
</TestAction> | ||
<LaunchAction | ||
buildConfiguration = "Debug" | ||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
launchStyle = "0" | ||
useCustomWorkingDirectory = "NO" | ||
ignoresPersistentStateOnLaunch = "NO" | ||
debugDocumentVersioning = "YES" | ||
debugServiceExtension = "internal" | ||
allowLocationSimulation = "YES"> | ||
</LaunchAction> | ||
<ProfileAction | ||
buildConfiguration = "Release" | ||
shouldUseLaunchSchemeArgsEnv = "YES" | ||
savedToolIdentifier = "" | ||
useCustomWorkingDirectory = "NO" | ||
debugDocumentVersioning = "YES"> | ||
</ProfileAction> | ||
<AnalyzeAction | ||
buildConfiguration = "Debug"> | ||
</AnalyzeAction> | ||
<ArchiveAction | ||
buildConfiguration = "Release" | ||
revealArchiveInOrganizer = "YES"> | ||
</ArchiveAction> | ||
</Scheme> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,22 +27,36 @@ PHP Monitor is a universal application that runs natively on Apple Silicon **and | |
* 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) | ||
* 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._ | ||
|
||
For more information, please see [SECURITY.md](./SECURITY.md) to find out which version of the app is currently supported. | ||
|
||
## 🚀 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: | ||
|
||
brew tap nicoverbruggen/homebrew-cask | ||
brew install --cask phpmon | ||
```sh | ||
brew tap nicoverbruggen/homebrew-cask | ||
brew install --cask phpmon | ||
``` | ||
|
||
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.) | ||
|
||
|
@@ -79,23 +93,15 @@ If you're still having issues, here's a few common questions & answers, as well | |
<details> | ||
<summary><strong>Which versions of PHP are supported?</strong></summary> | ||
|
||
<ul> | ||
<li>PHP 5.6 (backport + only if you are running Valet 2)</li> | ||
<li>PHP 7.0 (backport)</li> | ||
<li>PHP 7.1 (backport)</li> | ||
<li>PHP 7.2 (backport)</li> | ||
<li>PHP 7.3 (backport)</li> | ||
<li>PHP 7.4 (backport)</li> | ||
<li>PHP 8.0 (official support)</li> | ||
<li>PHP 8.1 (official support)</li> | ||
<li>PHP 8.2 (latest version)</li> | ||
<li>PHP 8.3-dev (experimental)</li> | ||
</ul> | ||
|
||
For more details, consult the [constants file](https://github.com/nicoverbruggen/phpmon/blob/main/phpmon/Common/Core/Constants.swift#L16) file to see which versions are supported. | ||
All stable and supported PHP versions are also supported by PHP Monitor. However, depending on which version of Valet you have installed, which versions of PHP that are made available for switching purposes may differ. | ||
|
||
> **Note** | ||
> If you have versions of PHP installed that can be detected by PHP Monitor but is *not* supported by the currently active version of Valet, you will be alerted by an item in the menu with an exclamation mark emoji. (⚠️) | ||
Backports are available via [this tap](https://github.com/shivammathur/homebrew-php). For more information about those backports, please see the next FAQ entry. | ||
|
||
For maximum compatibility with older PHP versions, you may wish to keep using Valet 2 or 3. For more information, please see [SECURITY.md](./SECURITY.md) to find out which versions of PHP are supported with different versions of Valet. | ||
|
||
</details> | ||
|
||
<details> | ||
|
@@ -113,12 +119,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 can then install those older versions: | ||
|
||
```sh | ||
brew install [email protected] | ||
brew install [email protected] | ||
... | ||
brew install shivammathur/php/[email protected] | ||
brew install shivammathur/php/[email protected] | ||
brew install shivammathur/php/[email protected] | ||
brew install shivammathur/php/[email protected] | ||
brew install shivammathur/php/[email protected] | ||
``` | ||
|
||
**Always make sure to restart PHP Monitor after installing or upgrading PHP versions!** | ||
|
@@ -129,9 +135,7 @@ brew install [email protected] | |
<details> | ||
<summary><strong>I want PHP Monitor to start up when I boot my Mac!</strong></summary> | ||
|
||
On macOS Ventura, you can accomplish this by going to **System Settings > General > Login Items** and adding PHP Monitor.app to the list **Open at Login**. You can do this with any application, by the way. | ||
|
||
On older versions of macOS, you can do this by dragging *PHP Monitor.app* into the **Login Items** section in **System Preferences > Users & Groups** for your account. | ||
You can do this by dragging *PHP Monitor.app* into the **Login Items** section in **System Preferences > Users & Groups** for your account. | ||
|
||
Super convenient! | ||
</details> | ||
|
Oops, something went wrong.