cinchapi / concourse-driver-php
Official PHP driver for Concourse
dev-develop
2016-06-16 15:43 UTC
Requires
- php: >= 5.4.0
- apache/thrift: 0.9.2
Requires (Dev)
- apigen/apigen: 4.1.1
- jaz303/phake: 0.6.0
- phpunit/phpunit: 4.7.*
This package is not auto-updated.
Last update: 2025-01-10 23:31:04 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.
- 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