https://github.com/yardinternet/zsh-php-detector
https://github.com/yardinternet/zsh-php-detector
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yardinternet/zsh-php-detector
- Owner: yardinternet
- Created: 2025-08-01T14:46:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-04T11:04:40.000Z (11 months ago)
- Last Synced: 2025-08-04T12:04:47.342Z (11 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ZSH PHP Detector
https://github.com/user-attachments/assets/db2fa2cd-1cd5-45ab-ac6e-60ae52d1b7bf
## How it works
This OMZ plugin sets your linked PHP executable through Homebrew by checking the version set in `composer.json`
## Installation
`git clone https://github.com/yardinternet/zsh-php-detector ~/.oh-my-zsh/custom/plugins/php-version-detector`
In `.zshrc`:
```
plugins=(
...
php-version-detector
)
```