PHPackages                             ryanvade/virtman - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ryanvade/virtman

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

ryanvade/virtman
================

A LibVirt wrapper for Laravel.

3311PHP

Since Jan 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ryanvade/VirtMan)[ Packagist](https://packagist.org/packages/ryanvade/virtman)[ RSS](/packages/ryanvade-virtman/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

VirtMan
=======

[](#virtman)

A Libvirt PHP wrapper library for the [Laravel Framework](https://laravel.com/). *version **0.0.1***

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0
- Libvirt PHP extension

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

[](#installation)

First grab the package via composer.

```
composer require ryanvade/virtman
```

Then add the service provider to the list of providers in config/app.php.

```
...
        /*
         * Package Service Providers...
         */

        VirtMan\VirtManServiceProvider::class,
...
```

Finally publish the package to your laravel project and run the migrations.

```
php artisan vendor:publish
php artisan migrate
```

Examples
--------

[](#examples)

### Create a Storage Object

[](#create-a-storage-object)

```
use VirtMan\VirtMan;

$virtMan = new VirtMan();
$testInstallImage = $virtMan->createStorage("installimage.iso", "ISO", -1);
$testStorage = $virtMan->createStorage("TestStorage", "qcow2", 20480);
```

### Create a Network Object

[](#create-a-network-object)

```
$network = $virtMan->createNetwork("00:11:22:33:44:55", "machine_network", "e1000");
```

### Create a Virtual Machine

[](#create-a-virtual-machine)

```
$machine = $virtMan->createMachine("TestMachine", "Linux", 2048, 1, "x86_64", [
  $testInstallImage,
  $testStorage],
  $network);
```

TODO
----

[](#todo)

- Create Virtual Machines
- Create Storage Images
- Create Storage Pools
- Create Networks
- Create Machine Groups
- Delete Virtual Machines
- Delete Storage Images
- Delete Storage Pools
- Delete Networks
- Delete Machine Groups
- List Machines
- Change Machine Settings
- Change Machine Networks
- Add a Machine to a Network
- Clone a Machine
- Add Storage to a Storage Pool
- Manage Install Images

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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://avatars.githubusercontent.com/u/1910293?v=4)[Ryan Owens](/maintainers/ryanvade)[@ryanvade](https://github.com/ryanvade)

---

Top Contributors

[![ryanvade](https://avatars.githubusercontent.com/u/1910293?v=4)](https://github.com/ryanvade "ryanvade (54 commits)")

### Embed Badge

![Health badge](/badges/ryanvade-virtman/health.svg)

```
[![Health](https://phpackages.com/badges/ryanvade-virtman/health.svg)](https://phpackages.com/packages/ryanvade-virtman)
```

###  Alternatives

[appwilio/russianpost-sdk

Russian Post (pochta.ru) SDK

4415.7k](/packages/appwilio-russianpost-sdk)

PHPackages © 2026

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