| Crates.io | php-upgrade |
| lib.rs | php-upgrade |
| version | 0.1.0 |
| created_at | 2025-12-15 18:45:19.502963+00 |
| updated_at | 2025-12-15 18:45:19.502963+00 |
| description | CLI tool/script to upgrade and manage PHP version-specific APT packages with ease |
| homepage | https://www.brandonfowler.me/php-upgrade/ |
| repository | https://github.com/BrandonXLF/php-upgrade |
| max_upload_size | |
| id | 1986525 |
| size | 62,724 |
CLI tool/script to upgrade and manage PHP version-specific APT packages with ease
php-upgrade provides convenient wrapper functions around the apt and dkpg family of commands.
php-upgrade - Upgrade all PHP packages for a specific versionphp-upgrade purge - Purge all PHP packages for a specific versionphp-upgrade list-packages - List all installed packages for a specific PHP versionphp-upgrade ini-diff - Compare php.ini files for installed versionsphp-upgrade latest-ver - Get the version number of the latest PHP releasephp-upgrade installed-ver - Get the currently installed PHP version numberA .deb package is provided on the releases page that can be installed with sudo apt install ./PACKAGE on Debian based distros such as Ubuntu.
If you have Rust and Cargo installed (install Rust), then you can build and install php-upgrade with the command cargo install php-upgrade.
php-upgrade is built using Cargo. See Cargo's build command documentation for more info. Additionally, cargo-deb is used to produce .deb files via cargo deb.