Search by

hpbxxtr / composer-upgrade-interactive

Interactive TUI for selectively upgrading Composer dependencies (yarn upgrade-interactive for PHP)

Maintainers

Package info

github.com/hpbxxtr/composer-upgrade-interactive

Documentation

Type:composer-plugin

pkg:composer/hpbxxtr/composer-upgrade-interactive

Transparency log

Statistics

Installs: 92

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 3

v0.4.0 2026-08-25 12:29 UTC

README

composer upgrade-interactive

Packagist Version PHP Documentation License Codecov PHPStan PHP-CS-Fixer Rector brnshkr/config

๐Ÿ“– Read the documentation

An interactive TUI for selectively upgrading Composer dependencies

yarn upgrade-interactive for PHP!

demo

โœจ Features

  • Patch / minor / major columns per package โ€” choose exactly how far to upgrade each one
  • Full version picker โ€” press v on any cell to browse all available stable versions in an inline multi-column list and pin an exact release
  • Live compatibility checking โ€” conflicting versions are marked with ! as you navigate; the footer explains which dependency chain is broken and whether it originates from the current upgrade selection or from an already-installed package
  • Minimum release age โ€” gate out releases published minutes ago, project-wide or per run
  • require and require-dev sections rendered separately
  • Abandoned package warnings with replacement suggestions
  • Comparison and release URLs in the footer for whichever bump type or version is focused (GitHub, GitLab, Packagist)
  • Full keyboard navigation โ€” arrow keys, vim (hjkl), and Emacs (Ctrl+P/N/B/F) bindings

๐Ÿ“‹ Requirements

  • PHP 8.3+
  • Composer 2.x

๐Ÿ“ฆ Installation

composer global require hpbxxtr/composer-upgrade-interactive

Or as a project dev dependency:

composer require --dev hpbxxtr/composer-upgrade-interactive

Trust prompt โ€” Composer will ask you to allow the plugin to execute code. Answer y to enable it:

Do you trust "hpbxxtr/composer-upgrade-interactive" to execute code and wish to enable it now?
(writes "allow-plugins" to composer.json) [y,n,d,?] y

๐Ÿš€ Usage

composer h:ui

Aliases: composer hpbxxtr:upgrade-interactive ยท composer upgrade-interactive

Navigate to a package, move across the patch/minor/major columns with the arrow keys, press space to select the latest version for that bump level, or press v to open an inline picker and choose any specific stable release. Press enter to confirm and apply.

๐Ÿ“– Documentation

Full docs live at hpbxxtr.github.io/composer-upgrade-interactive:

The site is built with VitePress from docs/ and deployed to GitHub Pages on release. To preview it locally:

make docs-dev

๐Ÿ“„ License

MIT โ€” see LICENSE.