Download a latest package or use Composer:
composer require janpecha/composer-updater
Composer Updater requires PHP 7.2 or later.
Usage:
php composer-updater <command> [options]
Commands:
update Updates composer.json & composer.lock if needed.
Options:
--composer-file=<path> Path to composer.json file (optional)
--composer-bin=<executable> Composer executable (optional, default: `composer`)
--dry-run Enable dry-run mode
License: New BSD License
Author: Jan Pecha, https://www.janpecha.cz/