2017 © Pedro Pelรกez
 

library vcloud-sdk-patched

VMware vCloud SDK for PHP - patched version

image

vmware/vcloud-sdk-patched

VMware vCloud SDK for PHP - patched version

  • Monday, April 20, 2015
  • by amercier
  • Repository
  • 3 Watchers
  • 6 Stars
  • 4,148 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 4 Forks
  • 3 Open issues
  • 17 Versions
  • 10 % Grown

The README.md

vmware-vcloud-sdk-php-patched version 5.5.0

VMware vCloud SDK for PHP (patched version) - Repository for importing with Composer, (*1)

Latest Unstable Version Total Downloads Dependency Status, (*2)

This project is a fork from the original VMWare SDK for PHP, with the exception of the following additions and changes:, (*3)

โœ” Split VMware/VCloud/API.php (5 MB), and a few other files into individual class files
โœ” Normalized class paths (VMware/VCloud/SDK/**/*.php and VMware/VCloud/API/**/*.php)
โœ” Compatible with Composer's autoloading
โœ” Fixed #2: Allow retrieving the currently logged user's username and token
โœ” Fixed #3: Remove unnecessary require_once
โœ” Fixed #5: Edge gateway modification doesn't work
โœ” Fixed #6: Uploading big OVF files doesn't work
โœ” Fixed #7: Uploading OVF files doesn't work on Windows/Cygwin
โœ” Fixed #8: Set image type in VMWare_VCloud_SDK_Vdc::uploadMedia (credits to @brianium)
โœ” Fixed #9: Add support for storageKB field on VMware_VCloud_API_QueryResultVAppTemp (credits to @brianium)
โœ” Fixed #12: VMware_VCloud_SDK_Vdc::sendUploadVAppTemplateRequest should uses $vdcStorageProfileRef (credits to @brianium)
โœ” Fixed #16: OperatingSytemSection and VirtualHardwareSection should have the "ovf" namespace (credits to @brianium)
โœ” Fixed #17: Add support for details in VMware_VCloud_API_QueryResultTaskRecordType (credits to @brianium)
โœ” Fixed #18: Add vmPendingQuestion to SDK_Constants (credits to @brianium)
โœ” Fixed #19: PHP Warning: Illegal string offset on multiple API_QueryResult* classes
โœ” Fixed #20: Added onProgress function for http-client upload method and vdc uploads (credits to @yconan)
โœ” Fixed #21: Set all private fields and functions to protected, (*4)

Installation

vmware/vcloud-sdk-patched is available through Composer., (*5)

  "repositories": [
    {
      "type": "pear",
      "url": "http://pear.php.net"
    }
  ],
  "require": {
    "vmware/vcloud-sdk-patched": "550.5.0",
    "pear-pear/HTTP_Request2": "*"
  }

```bash php composer.phar update, (*6)


If you are not familiar with _Composer_, please read the [full installation intructions](docs/install.md). Usage ----- See **[API documentation](http://purple-dbu.github.io/vmware-vcloud-sdk-php-patched/)** or [official VMware documentation](http://www.vmware.com/support/pubs/vcd_pubs.html) ### Include Composer autoloaded ```php // On top of your script require_once 'path/to/.../vendor/autoload.php';

Login

// $hostname = ...
// $username = ...
// $organization = ...
// $password = ...
// $apiVersion = ...
try {
    $service = \VMware_VCloud_SDK_Service::getService();
    $service->login(
        $hostname,
        array(
            'username' => $username . '@' . $organization,
            'password' => $password,
        ),
        array(
            'proxy_host' => null,
            'proxy_port' => null,
            'proxy_user' => null,
            'proxy_password' => null,
            'ssl_verify_peer' => false,
            'ssl_verify_host' => false,
            'ssl_cafile'  => null,
        ),
        $apiVersion
    );
} catch (\VMware_VCloud_SDK_Exception $e) {
    throw new \Exception('Login failed');
}

Versioning

Using Semver as a base for versioning, this project also follow additional guidelines for version numbering. each version is in the format vwx.y.z where:, (*7)

  • vwx is the concatenation of the vCloud SDK that this SDK is based upon (eg. "512" for 5.1.2)
  • Each modification of y introduces a new patch
  • Modifications of y are simply corrections of existing patches

Licensing

This project is released under Creative Commons - Attribution 3.0 Unported license. If this license does not fit your requirement for whatever reason, but you would be interested in using the work (as defined below) under another license, please contact authors., (*8)

Contributing

Contributions (issues โ™ฅ, pull requests โ™ฅโ™ฅโ™ฅ) are more than welcome! Feel free to clone, fork, modify, extend, etc, as long as you respect the license terms., (*9)

See contributing intructions for details., (*10)

The Versions

20/04 2015

dev-master

9999999-dev https://github.com/purple-dbu/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

20/04 2015

v550.4.4

550.4.4.0 https://github.com/purple-dbu/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

20/04 2015

v550.5.0

550.5.0.0 https://github.com/purple-dbu/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

19/05 2014

v550.4.3

550.4.3.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

10/04 2014

v550.4.2

550.4.2.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

api sdk vmware vcloud director patched

09/04 2014

v550.4.1

550.4.1.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

api sdk vmware vcloud director patched

08/04 2014

v550.4.0

550.4.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

api sdk vmware vcloud director patched

02/04 2014

v550.3.1

550.3.1.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

25/11 2013

v550.3.0

550.3.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

25/11 2013

v550.2.0

550.2.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

14/10 2013

v550.1.0

550.1.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

10/10 2013

v550.0.0

550.0.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

10/10 2013

dev-512-wip

dev-512-wip https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

10/10 2013

v512.3.0

512.3.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

04/09 2013

v512.2.0

512.2.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

09/08 2013

v512.1.0

512.1.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched

18/07 2013

v512.0.0

512.0.0.0 https://github.com/amercier/vmware-vcloud-sdk-php-patched

VMware vCloud SDK for PHP - patched version

  Sources   Download

CC-BY-3.0

The Requires

  • php >=5.3.2

 

The Development Requires

api sdk vmware vcloud director patched