cinchapi/concourse-driver-php

Official PHP driver for Concourse

dev-develop 2016-06-16 15:43 UTC

This package is not auto-updated.

Last update: 2024-04-19 20:14:33 UTC


README

The offical PHP driver for Concourse.

Requirements

  • PHP 5.4+

Quickstart

Installation

Install via composer

composer require cinchapi/concourse-driver-php

Usage

<?php
$concourse = Concourse::connect(); // connects to localhost:1717 by default

Developer Setup

All commands are run from the root of the concourse-driver-php project.

  1. Use Composer to get local copies of all necessary dependencies.
$ php composer.phar install

The Build System

We use phake as the build system for the PHP Driver. The phake executable is located in the root of the project.

Running tests

You can run all the test cases using the test task.

$ ./phake test

If you want to run a single test case/class, you can pass the containing file as an argument to the test task

$ ./phake test class=tests/<filename>

Generating Documentation

$ ./phake docs

Publishing

The PHP driver is made available via Packagist. You can upload by doing the following:

$ ./phake upload-packagist