Download the PHP package leviy/release-tool without Composer

On this page you can find all versions of the php package leviy/release-tool. 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 release-tool

Release Tool

Inspired by Liip RMT, this release tool helps you to automate the release of new versions of your software. It is written in PHP but can be used for any type of project, as long as you have PHP installed on your machine.

Test License GitHub release Required PHP version

Features

Installation

Phar (recommended)

The recommended method of installing this package is using a phar file. This is because installing using Composer can possibly cause dependency conflicts. You can download the most recent phar from the Github Releases page.

Global installation (linux)

Move the downloaded release-tool.phar file into your PATH (e.g. ~/bin/release-tool). Make sure to set the file to executable permissions (e.g. chmod 775 release-tool).

Composer

Alternatively, you can install this package using Composer:

Configuration

GitHub personal access token

This tool requires a personal access token with repo scope to create GitHub releases. Create one here and store it in .release-tool/auth.yml in your home folder (~ on Linux, user folder on Windows):

Usage

Note: these usage instructions assume that you have downloaded the release-tool.phar file to your project directory. If you have installed it in a different location, update the commands accordingly. If you have installed the tool as a Composer dependency, use vendor/bin/release instead.

Releasing a new version

Use to release a version. For example:

This will release version 1.0.0. By default, this will create a prefixed, annotated Git tag, in this case v1.0.0.

Automatically generating a version number

After tagging a first version, you can let the tool calculate the new version number for you based on the current version and a number of questions. To do so, omit the version from the previous command:

Pre-release versions

If you want to create a pre-release (alpha/beta/rc) version, run:

Other commands

Run to see a list of available commands.

Updating the release tool

The following command will update the release tool to the latest version:


All versions of release-tool with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
beberlei/assert Version ^3.2
consolidation/self-update Version ^2.0
guzzlehttp/guzzle Version ^6.3
symfony/config Version ^5.0
symfony/console Version ^5.0
symfony/dependency-injection Version ^5.0
symfony/yaml Version ^5.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 leviy/release-tool contains the following files

Loading the files please wait ....