Download the PHP package torzer/gitlab-flow without Composer

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

torzer GitFlow

This Laravel package aims to help developers to easier adopt and decrease the operational time when using Feature Branch Flow with Gitlab.

Installation

Use composer to install it:

Register the ServiceProvider in config/app.php

Config

In .env file you must set the following variables:

Creating Merge Requests

The most commom command is used to create Merge Request from current branch. If you type the foloowing command:

A MR gonna be created on Gitlab project, using the name of the branch as title. If you are using feature branch name, starting with the issue number that the branch resolves, the command inject a Closes #issue in description.

The default command gonna confirm if it must execute a git push as the first step of the proccess and then ask you to choose the assignee and milestone from the project.

To change the behavior use some of the following options:

Some uses:

MR with no default source and target

This gonna ask you for assignee and milestone, setting the title for a MR from dev to stage branches.

The default command gonna confirm if it must execute a git push as the first step of the proccess.

MR don't pushing last changes before open

This gonna don't push the last commits to repository before opening the MR.

MR followed by merge acceptance

This gonna push the last commits to repository before opening the MR, open MR, list changes and merge it to target branch, tag it, change local branch to target and pull from repository.

See merging request below to understand the merging behavior of the above command.

Accepting Merge Requests

The command is used to create accept a Merge Request from its id. If you type the foloowing command:

It will check the MR state, list members of the project to you choose assignee, list milestones to you choose, list the changes if confirmed and execute the merge of the MR !99 (change this number by MR id you want to accept).

You can change this behavior using some of the following options:

Automating flows

It is possible to "automate" the callig flows by setting a file named .gitlab-flow at the root folder of your Laravel application.

This file has is expected to be a ini format, where the section names are the flow names and each option/argument is in a line. command option is required. See the following example:

.gitlab-flow

Note that to on an option you must sert it to number 1 (one).

The default section is called if no flow name is passed to the command.

To call the default flow:

To call the stage-deploy section of the example:

To see the flows in .gitlab-flow file:


All versions of gitlab-flow with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
torzer/gitlab-client Version ^0.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 torzer/gitlab-flow contains the following files

Loading the files please wait ....