Download the PHP package enterpriseve/eve2pve-api-php without Composer
On this page you can find all versions of the php package enterpriseve/eve2pve-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download enterpriseve/eve2pve-api-php
More information about enterpriseve/eve2pve-api-php
Files in enterpriseve/eve2pve-api-php
Package eve2pve-api-php
Short Description Corsinvest Proxmox VE Client API PHP
License MIT
Homepage https://github.com/Corsinvest/cv4pve-api-php
Informations about the package eve2pve-api-php
cv4pve-api-php
The Proxmox VE API from PHP: a client with a method for every endpoint of the Proxmox VE API, running in your application and talking only to the API.
Why
An application that manages Proxmox VE (a customer portal, a scheduled job, a monitoring or billing tool) has to speak its REST API: tickets and tokens, paths, parameters, JSON, tasks that end later. Written by hand it is a layer of HTTP code to build and to keep up with every Proxmox VE release.
cv4pve-api-php is that layer, generated from the API itself. The calls follow the tree of the API, so the Proxmox VE API viewer is also the reference of the client.
It runs in your application and uses only the Proxmox VE API: nothing to install on the nodes, no SSH.
Features
- The whole API: a method for every endpoint and HTTP method, generated from the Proxmox VE API schema;
/nodes/{node}/qemu/{vmid}/configis$client->getNodes()->get('pve01')->getQemu()->get(100)->getConfig(). - One Result for every call: the HTTP outcome and the Proxmox VE data, read as objects or as arrays. A failed call does not throw.
- API token or password: with two-factor authentication, certificate validation and timeout.
- Tasks: start a backup, a clone or a migration, wait for its task and read whether it succeeded.
- Raw calls: GET, POST, PUT and DELETE on any path with an array of parameters, for the calls with many options and for endpoints newer than the library.
- No dependency: PHP with the curl extension, no other package.
Quick start
What the token needs: Permissions.
The first two numbers of the version are the Proxmox VE version the client was generated from: 9.2.x is for Proxmox VE 9.2. Changes of each release: CHANGELOG.md.
Documentation
| Getting started | Install, connect, first calls |
| Connection | API token or password, two-factor authentication, certificates, timeout |
| Permissions | The user, the token and the privileges an application needs |
| Concepts | API structure, results, indexed parameters, tasks, errors |
| Examples | Common tasks, creating a VM, bulk operations |
| Troubleshooting | Debug output and the common errors |
Related tools
Prefer a command line? cv4pve-cli calls the same API from any shell. The same client for .NET: cv4pve-api-dotnet. For Java: cv4pve-api-java. From PowerShell: cv4pve-api-powershell. The whole suite: corsinvest.it/cv4pve.
Support
Professional support and consulting available through Corsinvest.
By developers, for developers.
Part of cv4pve suite | Made with ❤️ in Italy by Corsinvest
Proxmox® is a registered trademark of Proxmox Server Solutions GmbH. cv4pve is developed by Corsinvest and is not a Proxmox product.
Copyright © Corsinvest Srl
All versions of eve2pve-api-php with dependencies
lib-curl Version *