From Source
composer install
php devdoctor list
php devdoctor ci
PHAR
php devdoctor app:build devdoctor.phar --build-version=1.41.1 --no-interaction
php builds/devdoctor.phar --version
Standalone Release Binary
Tagged releases publish PHPacker binaries for Linux, macOS, and Windows:
devdoctor-linux-x64
devdoctor-linux-arm64
devdoctor-macos-x64
devdoctor-macos-arm64
devdoctor-windows-x64.exe
chmod +x devdoctor-linux-x64
./devdoctor-linux-x64 --version
Composer
composer global require rtcoder/devdoctor
devdoctor --version
composer require --dev rtcoder/devdoctor
vendor/bin/devdoctor ci
GitHub Action
- uses: rtcoder/devdoctor@v1.41.1
with:
version: v1.41.1
Homebrew
brew tap rtcoder/tap
brew install devdoctor
The Homebrew formula installs the platform-specific standalone release binary for macOS or Linux, so it does not depend on the local php binary.
If the tap token was configured after a release, run the manual Update Homebrew Tap workflow and pass the release version. The workflow reads devdoctor.sha256 from the release and updates Formula/devdoctor.rb in rtcoder/homebrew-tap.