A Libvirt PHP wrapper library for the Laravel Framework. version 0.0.2
- PHP >= 7.0
- Libvirt PHP extension
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
- 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
Forked from https://github.com/ryanvade/VirtMan