Drone Plugin PHP SDK

Allows for creating PHP based plugins.

Using with composer

$ composer require phpdrone/drone-plugin-sdk:~0.1

Example

<?php
require __DIR__."/vendor/autoload.php";

// Get the build :
$build = new \DronePluginSdk\Build();

// Get some settings :
var_dump($build->getPluginParameter('my_parameter'));

Full example

See the example included on Github

API documentation

See the full API documentation