2017 © Pedro Peláez
 

library proxmox

Laravel Bindings for the ZzAntares ProxmoxVE composer package

image

rushore/proxmox

Laravel Bindings for the ZzAntares ProxmoxVE composer package

  • Sunday, November 5, 2017
  • by Rushore
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Proxmox Laravel Bindings | Updated by Rushore | For Laravel 5.5

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., (*1)

Update

Updated for Laravel 5.5 by Rushore, (*2)

License

This package is released under the LGPL. (Read LICENSE), (*3)

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., (*4)

Installation

Add the package Rushore/proxmox to your composer.json, (*5)

$ composer require Rushore/proxmox 1.*

or, (*6)

{
    "require": {
        "Rushore/proxmox": "1.*"
    }
}

Add the service provider and alias to your app.php, (*7)

'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), (*8)

Usage

Refer to the original package for documentation. Instead of $proxmox->, use Proxmox::, (*9)

Example:, (*10)

$allnodes = Proxmox::get('/nodes');
dd($allnodes);

The Versions

05/11 2017

dev-master

9999999-dev http://github.com/Rushore/proxmox

Laravel Bindings for the ZzAntares ProxmoxVE composer package

  Sources   Download

LGPL-3

The Requires

 

by Avatar Rushore

laravel proxmox proxmoxve