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