This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Interface with the VirtualMin HTTP API

v2.0.0 2017-06-12 13:40 UTC

This package is auto-updated.

Last update: 2021-10-06 02:24:21 UTC


Starting to write an OO Virtualmin library in PHP. The aim is to allow full management of a Virtualmin server through a set of PHP classes. Starting off with minimal features but plan to expand it (and contributions welcome).


  • PHP 5.4
  • Guzzle HTTP Client


$virtualmin = new \Ricklab\Virtualmin\Virtualmin('user', 'pass', 'localhost');

$vhost = $virtualmin->getVirtualHostByUsername('someusername');

$virtualmin->registerDomain('somedomain.com',['pass' => 'somepassword']);

$vhost2 = $virtualmin->getVirtualHostByDomain('somedomain.com');