Download the PHP package rhapsodic/pbump without Composer

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

pbump

pbump is a CLI tool for semver releases in PHP projects with automatic release commit creation and git tagging.

Features

Requirements

Installation

After installation, the binary will be available as vendor/bin/pbump.

Quick Start

Preview what will happen:

Create a patch release without interactive confirmation:

Show the current version:

Show help:

How a Release Works

During a normal pbump run:

  1. it determines the current version;
  2. it calculates the target version;
  3. it updates composer.json when needed;
  4. it creates a chore: release vX.Y.Z commit;
  5. it creates a git tag;
  6. it pushes the current branch and tag.

By default, the tag is named vX.Y.Z, but you can disable tagging or provide a custom tag name.

By default, pbump requires a clean working tree. If you need to release while unrelated files are modified, use --allow-dirty or set "allowDirty": true; in that mode pbump updates composer.json, commits only composer.json, and leaves the other files untouched.

Release Types

Version Source

The --version-source flag supports three modes:

If there are no tags yet and the source is tag, the current version is treated as 0.0.0.

The latest tag must contain a semver version at the end of the name, for example v1.2.3 or release-1.2.3.

Configuration via .pbump.config.json

You can create a .pbump.config.json file in the project root with default values:

Supported keys:

CLI arguments take precedence over .pbump.config.json.

tag can be:

Main Options

Interactive and CI Behavior

If --type is not provided and input is interactive, pbump will show a release type selection menu.

For non-interactive runs, it is best to always pass:

Otherwise, the tool will not be able to ask for confirmation before creating a release.

Development and Tests

Run linter:

Run static analysis:

Run tests:

Format code:

Run the entrypoint locally without a Composer bin proxy:

License

MIT License


All versions of pbump with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-json Version *
symfony/console Version ^7.2 || ^8.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 rhapsodic/pbump contains the following files

Loading the files please wait ...