Skip to main content

Composer commands used

Looking for updates

To identify the updates that are available, violinist will run the following command:

composer outdated -D -m

You can read more about this command on the official composer website

The two options mean as follows:

--direct (-D): Restricts the list of packages to your direct dependencies.
--minor-only (-m): Only shows packages that have minor SemVer-compatible updates.

There are still several ways this can be manipulated. See the config options for details. For example, If you set the option check_only_direct_dependencies to 0 the --direct flag will not be used.

Updating packages

The default command for updating packages with violinist are the following:

composer update vendor/package --with-dependencies

If you do not want violinist to update with dependencies, you can use the configuration option update_with_dependencies and set this to 0.

If you want to update a package bundled with another package, you probably want to have a look at the option bundled_packages.