Download the PHP package bbaga/buildkite-php without Composer

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

PHP client library for consuming the Buildkite API

Installation

Usage

Setting up the API objects

\Psr\Http\Client\ClientInterface implementation is available in the bbaga/buildkite-php-guzzle-client package.

Rest API

GraphQL API

Interacting with Buildkite's GraphQL API

Interacting with Buildkite's REST API

Example of traversing through resources

Accessing resources without traversing

Fetching data for a specific build without traversing through the hierarchy.

Creating a new pipeline

Direct API calls

Organizations API

Organizations related methods are exposed via $api->organization()

Detailed documentation for the Organizations API is available here

List the organizations

Get a specific organization

Pipelines API

Pipelines related methods are exposed via $api->pipeline()

Detailed documentation for the Pipelines API is available here

List pipelines in an organizations

Get a specific pipeline

Create a pipeline

Update a pipeline

Delete a pipelne

Builds API

Builds related methods are exposed via $api->build()

Detailed documentation for the Builds API is available here

List all builds across all the organizations

Get a specific build

Get builds in an organization

Get builds for a pipeline

Create a new build

Cancel a running build

Restarting a build

Jobs API

Jobs related methods are exposed via $api->job()

Detailed documentation for the Jobs API is available here

Retry a job

Unblock a job

Get logs for a job

Delete logs of a job

Get the environment variables from a job

Artifacts API

Jobs related methods are exposed via $api->artifact()

Detailed documentation for the Artifacts API is available here

Get artifacts uploaded from a build

Get artifacts uploaded from a job

Get a specific artifact

Delete a specific artifact

Agents API

Agents related methods are exposed via $api->agent()

Detailed documentation for the Agents API is available here

List agents for an organization

Get a specific agent

Stop an agent

Annotations API

Annotations related methods are exposed via $api->annotation()

Detailed documentation for the Annotations API is available here

Get annotations uploaded by a build

Users API

Users related methods are exposed via $api->user()

Detailed documentation for the Users API is available here

Get current user

Emojis API

Emojis related methods are exposed via $api->emoji()

Detailed documentation for the Users API is available here

List available emojis

Contribution

Testing

Integration testing

A Buildkite account and a running agent is required for integration testing and the following environment variables must be set.

These can be set in the phpunit.xml by making a copy of phpunit.xml.dist and extending it with the following snippet

Once the environment variables are set the test suite can be started


All versions of buildkite-php with dependencies

PHP Build Version
Package Version
Requires ext-json Version *
guzzlehttp/psr7 Version ^1.6
psr/http-client Version ^1.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 bbaga/buildkite-php contains the following files

Loading the files please wait ....