PHPackages                             bennetgallein/virtualizor-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bennetgallein/virtualizor-php

ActiveLibrary[API Development](/categories/api)

bennetgallein/virtualizor-php
=============================

A Wrapper for the Virtualizor API

31.1k3[3 issues](https://github.com/bennetgallein/VirtualizorPHP/issues)PHP

Since May 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bennetgallein/VirtualizorPHP)[ Packagist](https://packagist.org/packages/bennetgallein/virtualizor-php)[ RSS](/packages/bennetgallein-virtualizor-php/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Virtualizor API Wrapper [![Build Status](https://camo.githubusercontent.com/786983f90be9909be171005bdbc2b5789dd91880c20e652350a55c4eb7b100c1/68747470733a2f2f7472617669732d63692e6f72672f62656e6e657467616c6c65696e2f5669727475616c697a6f725048502e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bennetgallein/VirtualizorPHP)
===========================================================================================================================================================================================================================================================================================================================================

[](#virtualizor-api-wrapper-)

This is a wrapper for the API for Virtualizor. Documentation for this Version of the API can be found here:  . Own Documentation will follow.

Installation
------------

[](#installation)

Install this library via composer is pretty easy.

```
composer require bennetgallein/virtualizor-php

```

And then you can get started with your project.

Object Description:
-------------------

[](#object-description)

Every call starts by Initializing the `Virtualizor` Object. Once initialized you can use it over and over again.

```
$virt = new \Virtualizor\Virtualizor("ip", "key", "pass", "port");
```

### ServerInfo

[](#serverinfo)

Get some information about the master

```
$info = json_decode($virt->serverInfo());
```

### VirtualServer:

[](#virtualserver)

Create a new VirtualServer Object by using the following:

```
$virtualobject = $virt->vps();
```

Add Attributes and set the Act Method, then execute the query.

```
$vps = $virtualobject->setAct(\Virtualizor\Objects\VirtualServer::REBUILD)->setHostname("hostname_1")->exec();
```

### IPPool

[](#ippool)

Create a new IPPool Object by using the following:

```
$virtualobject = $virt->ippool();
```

List all pools:

```
$pools = $virtualobject->setAct(\Virtualizor\Objects\IPPool::LISTPOOLS)->exec();
```

### OSTemplates

[](#ostemplates)

Create a new OSTemplates Object by using the following:

```
$virtualobject = $virt->ostemplates();
```

List all templates:

```
$ostemplates = $virtualobject->setAct(\Virtualizor\Objects\OSTemplates::LISTOS)->exec();
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1fe6824fa3ef29f0284a7dddd5233ee261e0e1e41a575e6d867e34428b70386?d=identicon)[BennetPHP](/maintainers/BennetPHP)

---

Top Contributors

[![bennetgallein](https://avatars.githubusercontent.com/u/15325891?v=4)](https://github.com/bennetgallein "bennetgallein (13 commits)")

### Embed Badge

![Health badge](/badges/bennetgallein-virtualizor-php/health.svg)

```
[![Health](https://phpackages.com/badges/bennetgallein-virtualizor-php/health.svg)](https://phpackages.com/packages/bennetgallein-virtualizor-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
