Download the PHP package jwage/changelog-generator without Composer

On this page you can find all versions of the php package jwage/changelog-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package changelog-generator

Changelog Generator

Build Status Scrutinizer Code Quality Code Coverage

This library will generate a changelog markdown document from a GitHub milestone. It is based off of weierophinney/changelog_generator.

Features

Installation

You can install with composer:

$ composer require jwage/changelog-generator

Or you can download the latest changelog-generator.phar file from the releases pages.

Example

Here is what an example changelog looks like. It was generated from the 0.0.3 milestone in GitHub for this project:

0.0.3

Enhancement

You can also look at the CHANGELOG.md file which is generated by this project.

Basic Usage

Generate a change log based on a GitHub milestone with the following command:

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0

Write to File

Write the generated changelog to a file with the --file option. If you don't provide a value, it will be written to the current working directory in a file named CHANGELOG.md:

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0 --file

You can pass a value to --file to specify where the changelog file should be written:

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0 --file=changelog.md

By default it will overwrite the file contents but you can pass the --append option to append the changelog to the existing contents.

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0 --file=changelog.md --append

If you want to prepend the changelog to an existing file, use the --prepend option:

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0 --file=changelog.md --prepend

Connecting Issues & Pull Requests

To make the changelog easier to read, we try to connect pull requests to issues by looking for #{ISSUE_NUMBER} in the body of the pull request. When the user of the issue and pull request are different github users, the changelog line will look like the following:

Filtering by Labels

You can filter the changelog by label names using the --label option:

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0 --label=Enhancement --label=Bug

Including Open Issues & Pull Requests

It can be convenient when preparing release notes for an upcoming release to include open issues and pull requests. For this you can use the --include-open option:

$ ./vendor/bin/changelog-generator generate --user=doctrine --repository=migrations --milestone=2.0 --include-open

Configuration File

You can provide a PHP configuration file to the changelog generator if you don't want to provide the data manually each time. Put the following contents in a file named config.php:

Then you can use the configuration file like the following:

$ ./vendor/bin/changelog-generator generate --config=config.php

By default it will generate a changelog for the first changelog config in the array returned by the file. You can use the --project option if you want to generate a changelog for a specific project in the config file:

$ ./vendor/bin/changelog-generator generate --config=config.php --project=another-project

By default if you name your config file changelog-generator-config.php, the changelog generator will look for that file if no --config option is passed.

$ ./vendor/bin/changelog-generator generate

You can override options provided by the ChangelogConfig object from the command line by passing options to the generate command:

$ ./vendor/bin/changelog-generator generate --include-open=0

GitHub Enterprise Support

You can configure the URL of your GitHub instance by using the rootGitHubUrl option. In your config.php you can pass a 5th argument to ChangelogConfig that contains an array of options:

GitHub Authentication

By default it is not required to authenticate with GitHub to use this tool. But if you want higher rate limits or want to use it with private repositories then you will need to authenticate.

Personal Credentials

You can authenticate with your username and password or a personal access token instead of your password using the ChangelogGenerator\GitHubUsernamePassword class:

OAuth Token

You can authenticate with an OAuth token as well using the ChangelogGenerator\GitHubOAuthToken class:


All versions of changelog-generator with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1.0
ext-mbstring Version *
composer-runtime-api Version ^2.2.0
php-http/curl-client Version ^2.2.1
php-http/discovery Version ^1.14.3
php-http/httplug Version ^2.3.0
psr/http-client Version ^1.0.1
psr/http-factory Version ^1.0.1
psr/http-message Version ^1.0.1
symfony/console Version ^5.0.0 || ^6.1.2
laminas/laminas-diactoros Version ^2.13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jwage/changelog-generator contains the following files

Loading the files please wait ....