Vesta-php is a php package to help make calls to a Vesta Control Panel API.
You can install the package via composer:
composer require steadfastcollective/vesta-php
use SteadfastCollective\Vesta\Vesta;
$response = (new Vesta($ip, $username, $password, $port))
->request([
'cmd' => 'v-add-user',
'arg1' => 'example-username',
'arg2' => 'example-password',
'arg3' => '[email protected]',
]);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.