Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ composer require irabbi360/laravel-php-proxmox
```

You can publish the config file with:

```bash
php artisan vendor:publish --tag=proxmox-config
```

Add this in .env from the proxmox.php config file

```bash
PROXMOX_HOST=
PROXMOX_USER=
Expand All @@ -34,6 +36,7 @@ PROXMOX_PORT=
```

## How to use

To use the Proxmox functionality, you can call the respective facades in your controller. Import the required facades based on the functionality you need. Here's how you can utilize them:

- For Node-related operations, use the `ProxmoxNodeVM` facade.
Expand Down Expand Up @@ -474,7 +477,7 @@ ProxmoxNode::qemuMoveDisk($node, $vmid, $data = array())
ProxmoxNode::qemuPending($node, $vmid)
ProxmoxNode::qemuResize($node, $vmid, $data = array())
ProxmoxNode::qemuRrd($node, $vmid, $ds = null, $timeframe = null)
ProxmoxNode::qemuRrddata($node, $vmid, $timeframe = null)
ProxmoxNode::qemuRrddata($node, $vmid, $timeframe = null, $cf = null)
ProxmoxNode::qemuSendkey($node, $vmid, $data = array())
ProxmoxNode::qemuSpiceproxy($node, $vmid, $data = array())
ProxmoxNode::createQemuTemplate($node, $vmid, $data = array())
Expand Down
Loading