Download the PHP package client-api/pmg without Composer
On this page you can find all versions of the php package client-api/pmg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download client-api/pmg
More information about client-api/pmg
Files in client-api/pmg
Package pmg
Short Description Generated from apidoc.js. NOT an official Proxmox specification. See https://pmg.proxmox.com/pmg-docs/api-viewer/ for the upstream documentation.
License unlicense
Homepage https://openapi-generator.tech
Informations about the package pmg
pmg-php
PHP SDK for the Proxmox Mail Gateway API. Generated from
the upstream apidoc.js from Proxmox Mail Gateway via openapi-generator-cli with custom
Mustache template overrides.
Not an official Proxmox project. Community SDK derived from the upstream
apidoc.js. Always verify against the upstream API viewer. https://pmg.proxmox.com/.
Requires PHP ≥ 7.4.
Install
Usage
The unified Pmg class wraps each per-tag API class (QemuApi,
LxcApi, ClusterApi, NodesApi, …) so consumers don't need to
instantiate them individually.
Compound configs
PVE encodes many fields as CLI-style shorthand strings
(net0=virtio,bridge=vmbr0,firewall=1). Round-trip helpers are
emitted for every compound config schema:
Indexed families
Numbered properties (net0..net31, mp0..mp255, …) are exposed on
every model as a single collapsed getNets() / setNets() accessor.
The per-index getNet0/setNet0/… methods are filtered out of the
class surface (the wire format is preserved internally via a __call
magic dispatcher):
License
Apache 2.0 — see LICENSE.
All versions of pmg with dependencies
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
guzzlehttp/psr7 Version ^1.7 || ^2.0