Skip to content

Latest commit

 

History

History
52 lines (47 loc) · 1.24 KB

readme.md

File metadata and controls

52 lines (47 loc) · 1.24 KB

VirtMan

A Libvirt PHP wrapper library for the Laravel Framework. version 0.0.2

Requirements

  • PHP >= 7.0
  • Libvirt PHP extension

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

TODO

  • Create Virtual Machines using XML
  • 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 Networks
  • List Machines
  • Change Machine Settings
  • Change Machine Networks
  • Add a Machine to a Network
  • Clone a Machine
  • Add Storage to a Storage Pool
  • Get Machine Network interface list
  • Get Machine Network interface statistics

Credits

Forked from https://github.com/ryanvade/VirtMan