PHP code example of universityofadelaide / openshift-client
1. Go to this page and download the library: Download universityofadelaide/openshift-client 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/ */
universityofadelaide / openshift-client example snippets
use UniversityOfAdelaide\OpenShift\Client;
...
$client = new Client('https://192.168.64.2:8443/api/v1/', 'big_secret_token_hash', 'project');
use UniversityOfAdelaide\OpenShift\Client;
$host = 'https://pathToOpenshift.host';
$token = 'yourOpenShiftToken';
$namespace = 'project';
// Get the arguments ', 'pass', 'middleout']);