PHPackages                             ioguimaraes/vmware-rest-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ioguimaraes/vmware-rest-api

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ioguimaraes/vmware-rest-api
===========================

A library for access and management vmweare info

v1.0(2y ago)0412[1 PRs](https://github.com/ioguimaraes/vmware-rest-api/pulls)MITPHPPHP &gt;=7.4.0

Since Oct 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ioguimaraes/vmware-rest-api)[ Packagist](https://packagist.org/packages/ioguimaraes/vmware-rest-api)[ RSS](/packages/ioguimaraes-vmware-rest-api/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

VMWare Rest API PHP
===================

[](#vmware-rest-api-php)

Copyright 2023 Igor Guimarães

Version 1.0

Description
-----------

[](#description)

Basic class PHP compiling the main vCenter API calls, making it possible to simultaneously manage more than one virtualization environment.

Important
---------

[](#important)

- For more information, visit the official API link:
- The methods present in the class were added to the vCenter framework after version 7.0 U2
- VMWare Rest API works with PHP 7.4+

Installation
------------

[](#installation)

To install VMWare Rest API PHP, run the folling command:

```
composer require ioguimaraes/vmware-rest-api

```

Installation instructions to use the `composer` command can be found on .

Authentication
--------------

[](#authentication)

The vCenter API supports the following methods to authenticate requests. Individual operations in the documentation will include their specific authentication types.

- api\_key
    - Type: APIKey
    - In: Header
    - Name: vmware-api-session-id
- basic\_auth
    - Type: HTTP
    - In: Header
    - Scheme: Basic

**Attention Point!!** the API key is only valid for 5 minutes and by default and vCenter allows the simultaneous creation of a maximum of 50 keys per environment, of which it is advisable that after finishing using the key, destroy it of the same before creating a new one.

#### Basic Auth Ex ...

[](#basic-auth-ex-)

```
