gentle/bitbucket-api
PHP Bitbucket API wrapper (PHP 5.4+) using cURL and Buzz. Provides a simple client for interacting with Bitbucket endpoints, with full documentation and optional PHPUnit test suite. MIT licensed.
Manages build statuses on a commit.
{% include auth.md var_name="buildStatuses" class_ns="Repositories\Commits\BuildStatuses" %}
$buildStatuses->get($account, $repository, $revision, $key);
$buildStatuses->create($account, $repository, $revision, array(
'state' => 'FAILED',
'key'=> 'JENKINS-PROJECT-X',
'name'=> 'Build #1',
'url'=> 'https://example.com/path/to/build/info',
'description'=> 'Changes by John Doe'
));
$buildStatuses->update($account, $repository, $revision, $key, array(
'state' => 'SUCCESSFUL',
'name'=> 'Build #2',
'url'=> 'https://example.com/path/to/build/info',
'description'=> 'Changes by John Doe'
));
How can I help you explore Laravel packages today?