1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 03:50:08 +02:00

📝 Updated README, new screenshot

This commit is contained in:
2021-02-04 22:32:46 +01:00
parent b0f0fd8c6b
commit 3db333dd77
2 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,9 @@
PHP Monitor (or phpmon) is a lightweight macOS utility app that runs on your Mac and displays the active PHP version in your status bar.
<img src="./docs/screenshot.png" width="370px" alt="phpmon screenshot (menu bar app)"/>
<img src="./docs/screenshot.png" width="631px" alt="phpmon screenshot (menu bar app)"/>
_Screenshot: A menu showing all of the functionality of PHP Monitor._
It's also super convenient to switch between different versions of PHP. You'll even get notifications (only if you choose to opt-in, of course)!
@ -59,9 +61,11 @@ If you'd like to create a production build, choose "Any Mac" as the target and s
## 🚜 How it works
### Version detection
### Loading info about PHP in the background
This utility runs `php -r 'print phpversion()'` in the background periodically (every 60 seconds).
This utility runs `php -r 'print phpversion()'` in the background periodically. It also checks your `.ini` files for extensions and loads more information about your limits (memory limit, POST limit, upload limit).
In order to save power, this only happens once every 60 seconds.
### Switching PHP versions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 502 KiB