Download the PHP package corneltek/phprelease without Composer

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

PHPRelease

Latest Stable Version Total Downloads Latest Unstable Version License Build Status

The simplest way to define your release process.

Features

Install

Including phprelease in your project

Simplfy run composer require to include the package:

composer require --dev corneltek/phprelease

Usage

Create phprelease.ini config file by a simple command:

The above command creates a phprelease.ini config file, you can also edit it by yourself:

The release steps may contains script files, you can simply insert the script path and phprelease will run it for you. the return code 0 means we are going to the next step.

Then, to release your package, simply type:

Bumping Version

To bump major version and do release:

$ phprelease --bump-major
===> Bumping version from 2.2.3 => 3.0.0

To bump minor version and do release:

$ phprelease --bump-minor
===> Bumping version from 2.2.3 => 2.3.0

To bump minor version and set the stability suffix:

$ phprelease --bump-minor --dev
===> Bumping version from 2.2.3 => 2.3.0-dev

$ phprelease --bump-minor --beta
===> Bumping version from 2.2.3 => 2.3.0-beta

$ phprelease --bump-minor --rc
===> Bumping version from 2.2.3 => 2.3.0-rc

$ phprelease --bump-minor --rc1
===> Bumping version from 2.2.3 => 2.3.0-rc1

$ phprelease --bump-minor --rc2
===> Bumping version from 2.2.3 => 2.3.0-rc2

$ phprelease --bump-minor --stable
===> Bumping version from 2.2.3 => 2.3.0

To use a version prefix for the git tag, add this key to your phprelease.ini:

This will result in something like:

$ phprelease
===> Version bump from 2.2.3 to 2.3.0
===> Running PHPRelease\Tasks\GitTag
===> Tagging as v.1.2.2

Configuring GitAdd Task

To use GitAdd Task, you may simply add the config below to your phprelease.ini:

Skipping Specific Step

Getting Version From PHP Source File

If you defined your version string in your PHP source file or class const, to bump version from php source file, you can simply define a VersionFrom option:

Task Options

Each task has its own options, run help command, you should see the options from these tasks:

$ phprelease help
PHPRelease - The Fast PHP Release Manager

Usage
    phprelease [options] [command] [argument1 argument2...]

Options
           -v, --verbose   Print verbose message.
             -d, --debug   Print debug message.
             -q, --quiet   Be quiet.
              -h, --help   help
               --version   show version
                   --dry   dryrun mode.
            --bump-major   bump major (X) version.
            --bump-minor   bump minor (Y) version.
            --bump-patch   bump patch (Z) version, this is the default.
 -s, --stability <value>   set stability
                   --dev   set stability to dev.
                    --rc   set stability to rc.
                   --rc1   set stability to rc1.
                   --rc2   set stability to rc2.
                   --rc3   set stability to rc3.
                   --rc4   set stability to rc4.
                   --rc5   set stability to rc5.
                  --beta   set stability to beta.
                 --alpha   set stability to alpha.
                --stable   set stability to stable.
       --remote <value>+   git remote names for pushing.

So to bump the major verion, simply pass the flag:

phprelease --bump-major

You can also test your release steps in dry-run mode:

phprelease --dryrun

Built-In Tasks

BumpVersion
GitCommit
GitPush
GitPushTags
GitTag
PHPUnit

Hacking

  1. For this project.

  2. Get composer, and run:

    composer install --dev

  3. Hack!

All versions of phprelease with dependencies

PHP Build Version
Package Version
No informations.
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 corneltek/phprelease contains the following files

Loading the files please wait ....