Download the PHP package automattic/vip-build-tools without Composer

On this page you can find all versions of the php package automattic/vip-build-tools. 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 vip-build-tools

VIP Build Tools

A collection of helpful scripts to be used in CI jobs.

Prerequisites

Make sure you have composer installed.

Install

To get setup run the following command in the vip-build-scripts directory:

Script: Changelog

Extracts changelog information from the last closed Pull Request description and sends a request to a WordPress posts endpoint.

Options

Option Description Required / Optional Default Value
wp-endpoint The WordPress posts endpoint the changelog will be posted at. Required
start-marker The text marker used to find the start of the changelog description inside the PR description. Optional <h2>Changelog Description
end-marker The text marker used to find the end of the changelog description inside the PR description. Optional <h2>
wp-status The WordPress post status. Optional draft
wp-tag-ids A comma separated list of WordPress tag ids to add to the post. Optional
link-to-pr Wether or not to include the link to the PR in the post. Optional true

Environment Variables

Most of these variables are already built-in by CircleCI.

Option Description Required / Optional
CIRCLE_PROJECT_USERNAME The GitHub username of the current project. Required
CIRCLE_PROJECT_REPONAME The name of the repository of the current project. Required
CHANGELOG_POST_TOKEN WordPress.com auth token required to post to the endpoint. Required
GITHUB_TOKEN The GitHub personal acess token needed to read private repositories. Optional

Usage Example

An example CircleCI Workflow is available here.

The example does NOT have a valid WP TOKEN so no entry will be published.

To run the example you can use circleci-cli: circleci local execute --job create-changelog-draft --config examples/changelog-circleci-config.yml


All versions of vip-build-tools with dependencies

PHP Build Version
Package Version
Requires erusev/parsedown Version ^1.7
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 automattic/vip-build-tools contains the following files

Loading the files please wait ....