Download the PHP package zeeshan/git-semver without Composer

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

git-semver

Build Status Latest Version

A CLI tool to generate semantic versioning compliant tags for your git repositories.

Install

Usage

Below is the signature for command

Where patch, minor or major specifies the type of release that you are about to make.

Options

In addition to the type of release i.e. patch, major or minor, you can add following options to modify the behavior of command

Examples

Find some of the usage examples below

Tag Examples

Fetching Remote Tags

If you would want to fetch the remote tags before creating the tag, then use the --fetch option. For example

Above command will make sure that the remote tags are fetched before creating a new tag. On a sidenote, it is recommended to add this flag e.g. if you are working in a team it is quite possible that you might not have some tag locally and creating a tag without fetching might end up in duplicated tags.

Prefix and Postfix Usage

  1. Prefix If you want to create a release while prefixing some keyword e.g. v then you can provide that using --prefix option. For example:

The above command will generate tags with v prefixed e.g. v1.0.0 or v1.3.2.

  1. Postfix If you would like to append something to the end of created tag you can use --postfix option. For example, if you would want to append -dev to the tag, you can do the below

This will result in something along the lines of 3.5.1-dev depending upon the last tag

A Real World Example of Semantic Versioning

Some useful examples of semantic versioning are given below:

Contribution

Feel free to fork, improve, create issues and spread the word.

License

MIT © Zeeshan Ahmed


All versions of git-semver with dependencies

PHP Build Version
Package Version
Requires symfony/console Version ^3.1
symfony/process Version ^3.1
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 zeeshan/git-semver contains the following files

Loading the files please wait ....