Install pretty-package-versions via Composer
2.xTo install this package, use Composer. If you are developing a library, it is recommended to use the constraint ^1.5 || ^2.0 to ensure compatibility with both Composer 1.x and 2.x without forcing end users to upgrade immediately.
composer require 'jean85/pretty-package-versions:^1.5 || ^2.0'