The offical PHP driver for Concourse.
- PHP 5.4+
Install via composer
composer require cinchapi/concourse-driver-php
<?php
$concourse = Concourse::connect(); // connects to localhost:1717 by default
All commands are run from the root of the concourse-driver-php project.
- Use Composer to get local copies of all necessary dependencies.
$ php composer.phar install
We use phake as the build system for the PHP Driver. The phake
executable is located in the root of the project.
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>
$ ./phake docs
The PHP driver is made available via Packagist. You can upload by doing the following:
$ ./phake upload-packagist