Download the PHP package jtsternberg/buddy-cli without Composer

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

The (Un)official Buddy Works CLI

A PHP CLI tool for managing Buddy.works CI/CD pipelines from the command line. Run pipelines, inspect executions, view logs, manage variables, and export/import pipeline configurations as YAML—all without leaving your terminal.

Works great with LLM assistants for iterative debugging workflows. See Debugging Pipeline Executions for a real-world example.

[!NOTE] The official buddy-works/buddy-cli has been abandoned. This project provides a maintained alternative.

Installation

As a Project Dependency

The buddy command is available via vendor/bin/buddy.

Global Installation

Ensure ~/.composer/vendor/bin is in your PATH, then run buddy from anywhere.

From Source

This creates a symlink in ~/.local/bin/buddy (or similar) for pathless execution.

Shell Completion

Enable tab-completion for commands, options, and arguments. Supports bash, zsh, and fish.

Bash (~/.bashrc):

Zsh (~/.zshrc):

First generate the completion file:

Then add to ~/.zshrc (before compinit if you call it manually):

Fish (~/.config/fish/config.fish):

Authentication

Personal Access Token (Recommended)

Set the BUDDY_TOKEN environment variable, or run:

OAuth Login

1. Create OAuth Application

Create an OAuth app at buddy.works/api/apps.

For the callback URL, run buddy login --test to start the callback server and verify it works:

2. Configure Credentials & Login

Provide your OAuth client ID and secret via one of:

Then login:

Or pass directly to login command:

This opens your browser to authenticate with Buddy and saves your token automatically.

Configuration

Configuration can be set via environment variables, config files, or command-line flags.

Environment Variables

Config Files

Precedence

  1. Command-line flags (--workspace, --project)
  2. Environment variables
  3. Project config (.buddy-cli.json)
  4. User config (~/.config/buddy-cli/config.json)

Commands

[!TIP] Run buddy <command> --help for detailed documentation including all options, supported fields, and examples.

Pipelines

Executions

Actions

Projects

Variables

Configuration

Documentation

Options

All commands support:

Claude Code Plugin

This repository includes a Claude Code plugin for AI-assisted CI/CD management. Control deployments and debug pipelines using natural language.

Quick Example

Installation

In Claude Code:

Or point to your existing copy of the buddy-cli repository:

Features

See claude-plugin/.claude-plugin/README.md for full documentation.

Development

This repository uses Beads for issue tracking—an AI-native system that stores issues directly in the repo. See .beads/README.md for details.

License

MIT


All versions of buddy-cli with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
buddy-works/buddy-works-php-api Version ^1.4
symfony/console Version ^6.0|^7.0
symfony/yaml Version ^7.4
vlucas/phpdotenv Version ^5.6
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 jtsternberg/buddy-cli contains the following files

Loading the files please wait ...