phly / keep-a-changelog
Tag and release packages on GitHub using Keep A Changelog; add new version entries to your changelog.
Installs: 76 625
Dependents: 23
Suggesters: 1
Security: 0
Stars: 182
Watchers: 7
Forks: 23
Open Issues: 13
Requires
- php: ^7.4 || ^8.0
- composer-runtime-api: ^2.0
- knplabs/github-api: ^3.4
- laminas/laminas-diactoros: ^2.4.1
- m4tthumphrey/php-gitlab-api: ^11.0
- php-http/guzzle7-adapter: ^1.0
- psr/event-dispatcher: ^1.0
- symfony/console: ^5.2.1 || ^6.0
Requires (Dev)
- captainhook/captainhook: ^5.4
- captainhook/plugin-composer: ^5.2.3
- laminas/laminas-coding-standard: ^2.1.4
- phpspec/prophecy-phpunit: ^2.0.1
- phpunit/phpunit: ^9.5
Replaces
- 2.13.x-dev
- 2.12.x-dev
- 2.12.1
- 2.12.0
- 2.11.x-dev
- 2.11.0
- 2.10.x-dev
- 2.10.1
- 2.10.0
- 2.9.x-dev
- 2.9.1
- 2.9.0
- 2.8.x-dev
- 2.8.1
- 2.8.0
- 2.7.x-dev
- 2.7.0
- 2.6.x-dev
- 2.6.0
- 2.5.x-dev
- 2.5.0
- 2.4.x-dev
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.0
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-fix/qa-issues
- dev-dependabot/composer/guzzlehttp/psr7-2.5.0
- dev-dependabot/bundler/docs/nokogiri-1.14.3
- dev-dependabot/bundler/docs/activesupport-6.0.6.1
- dev-dependabot/bundler/docs/addressable-2.8.1
- dev-feature/omit-version-argument
- dev-feature/typehints
- dev-feature/httplug-v2
This package is auto-updated.
Last update: 2024-11-14 22:30:22 UTC
README
This project provides tooling support for working with Keep A Changelog.
Installation
Local install via Composer
Run the following to install this library:
$ composer require phly/keep-a-changelog
Global install via Composer
Alternately, install globally, for use with any repository:
$ composer global require phly/keep-a-changelog
If you install globally, ensure you add global composer vendor binaries
directory to your $PATH
environment variable. You can get its location with
following command:
$ composer global config bin-dir --absolute
You can add the following line to your shell profile to auto-add it to your PATH:
export PATH=$(composer global config bin-dir --absolute):$PATH
Once setup this way, you can call keep-a-changelog
instead of
./vendor/bin/keep-a-changelog
.
PHAR file
Since version 2.3.0, we have offered standalone PHAR binaries. These are available under the downloads section for each release. To retrieve the latest, you can always use the following url:
Make the file executable (e.g., chmod 755 keep-a-changelog.phar
), place it in
your $PATH
, and, optionally, remove the .phar
suffix
At the time of writing, the PHAR distribution is not yet capable of self-updating or checking for updates.
Usage
Invocation will be via one of the following:
- If you have installed via Composer within your project:
./vendor/bin/keep-a-changelog
- If you have installed globally via Composer, and have added the Composer
script path to your
$PATH
:keep-a-changelog
. - If you have downloaded the PHAR file and put it in your
$PATH
: eitherkeep-a-changelog.phar
or, if you removed the.phar
file extension,keep-a-changelog
.
From here forward, we will use keep-a-changelog
to invoke the command;
substitute the appropriate command invocation based on your install.
You may get a list of commands by running:
$ keep-a-changelog
From there, you can get help for individual commands using:
$ keep-a-changelog help <command>
For more information, please visit the documentation.