Laravel Bindings for the ZzAntares ProxmoxVE composer package
rene-roscher/proxmox is a Laravel package for laravel bindings for the zzantares proxmoxve composer package .
It currently has 0 GitHub stars and 72 downloads on Packagist (latest version 0.0.1).
Install it with composer require rene-roscher/proxmox.
Discover more Laravel packages by rene-roscher
or browse all Laravel packages to compare alternatives.
Last updated
This package is a wrapper for the ProxmoxVE package made by ZzAntares (https://github.com/zzantares/proxmoxve). This package allows easy use of the ProxmoxVE package by adding a facade, and a config file.
Updated for Laravel 5.5 by Rushore
This package is released under the LGPL. (Read LICENSE)
Tl;dr; you can use it in a proprietary project, but if you modify the actual library, you need to make your changes open source under the LGPL.
Add the package Rushore/proxmox to your composer.json
$ composer require Rushore/proxmox 1.*
or
{
"require": {
"Rushore/proxmox": "1.*"
}
}
Add the service provider and alias to your app.php
'providers' => [
// ...
'Someguy123\Proxmox\ProxmoxServiceProvider',
// ...
]
'aliases' => [
// ...
'Proxmox' => 'Someguy123\Proxmox\ProxmoxFacade',
// ...
]
Fill in app/config/packages/Rushore/proxmox/server.php
or config/packages/Rushore/proxmox/server.php depending on your Laravel
version. This file contains the Proxmox API connection information, and must
be filled in before use. (you can also fill in the details in your environment
file)
Refer to the original package for
documentation. Instead of $proxmox->, use Proxmox::
Example:
$allnodes = Proxmox::get('/nodes');
dd($allnodes);