Skip to content

rickogden/Virtualmin-PHP

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Virtualmin PHP API

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).

Requirements

  • PHP 5.4
  • Guzzle HTTP Client

Usage

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

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

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

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

$vhost2->changePassword('anotherpassword');

$vhost2->changeEmail('new@email.addr');

$virtualmin->deleteDomain($vhost);

About

A PHP library for administration of a Virtualmin server.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages