2017 © Pedro Peláez
 

library rundeck-sdk-php

PHP SDK for Rundeck web API

image

akramfares/rundeck-sdk-php

PHP SDK for Rundeck web API

  • Thursday, October 19, 2017
  • by akramfares
  • Repository
  • 1 Watchers
  • 3 Stars
  • 764 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

rundeck-sdk-php

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

PHP client for Rundeck web API., (*2)

Install

Via Composer, (*3)

``` bash $ composer require akramfares/rundeck-sdk-php, (*4)


## Usage ``` php $client = new Rundeck\Rundeck(ENDPOINT, AUTH_TOKEN, API_VERSION); // Get all projects $projects = $client->project()->findAll(); foreach($projects["project"] as $project) { echo $project["name"]. "\n"; } // Get jobs of project $jobs = $client->project("Project")->get("jobs/export"); foreach($jobs["job"] as $job) { echo $job["name"]. "\n"; } // Get job info $job = $client->job("c4ec2b60-ac83-4ee2-9266-67ce795c9603")->find(); echo $job["job"]["name"] . ": " . $job["job"]["id"]; // Get job executions $executions = $client->job("c4ec2b60-ac83-4ee2-9266-67ce795c9603")->get('executions'); foreach ($executions["execution"] as $execution) { echo $execution["job"]["name"] . " started at " . $execution["date-started"] ."\n"; } // Get execution info $execution = $client->execution("4939")->find(); echo $execution["job"]["name"] . " started at " . $execution["date-started"];

Change log

Please see CHANGELOG for more information on what has changed recently., (*5)

Testing

bash $ composer test, (*6)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*7)

Security

If you discover any security related issues, please email akramfares |at| gmail |.| com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

19/10 2017

dev-master

9999999-dev https://github.com/akramfares/rundeck-sdk-php

PHP SDK for Rundeck web API

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

akramfares rundeck-sdk-php

12/08 2017

1.1

1.1.0.0 https://github.com/akramfares/rundeck-sdk-php

PHP SDK for Rundeck web API

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

akramfares rundeck-sdk-php

07/05 2017

1.0

1.0.0.0 https://github.com/akramfares/rundeck-sdk-php

PHP SDK for Rundeck web API

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

akramfares rundeck-sdk-php

29/04 2017

0.1

0.1.0.0 https://github.com/akramfares/rundeck-sdk-php

PHP SDK for Rundeck web API

  Sources   Download

MIT

The Requires

  • php ~5.5|~7.0

 

The Development Requires

akramfares rundeck-sdk-php