korri/composer-version

This package is abandoned and no longer maintained. No replacement package was suggested.

Update your package version for git managed composer packages.

1.2.0 2017-09-26 12:00 UTC

This package is auto-updated.

Last update: 2023-08-29 18:23:00 UTC


README

Build Status Test Coverage

This is a no-dependencies PHP ^7.1 commandline tool that helps with releasing semantically versioned composer packages or projects, directly inspired by npm version.

Usage

composer-version [options] <new-version> | major | minor | patch

  -h, --help Show this help text
  -f, --file Path to composer.json file, default to ./composer.json
  -p, --push Push commit and tag to remote origin

Installation

composer global require korri/composer-version

Then add ~/.composer/vendor/bin/ to your $PATH if it is not already there.

Testing

Run test suite

composer install # Install dev dependencies
composer test