PHP code example of thiagorb / codeship
1. Go to this page and download the library: Download thiagorb/codeship library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thiagorb / codeship example snippets
composer
$firstOrganization = $codeship->accountOrganizations()->read()[0];
$projects = $codeship->organizations()
->find($firstOrganization->getUuid())
->projects()
->read();
foreach ($projects->getProjects() as $project) {
var_dump($project->getName());
}